Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.758/0.758, allocations: 143.4 MB / 159.2 MB, free: 4.848 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 187.7 kB / 191.9 MB, free: 5.703 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009846, allocations: 99.2 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 282.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 87.86 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3412, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.5191/0.8603, allocations: 159.2 MB / 0.9234 GB, free: 496 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.8634, allocations: 1.721 MB / 0.9251 GB, free: 440 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.8637, allocations: 10.03 kB / 0.9251 GB, free: 440 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.8643, allocations: 135.9 kB / 0.9253 GB, free: 436 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.8657, allocations: 493.9 kB / 0.9257 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.8669, allocations: 385.7 kB / 0.9261 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008267/0.8677, allocations: 0.7609 MB / 0.9268 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.868, allocations: 151 kB / 0.927 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.8686, allocations: 298.8 kB / 0.9273 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.8688, allocations: 159.1 kB / 0.9274 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.8689, allocations: 8.719 kB / 0.9274 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.8701, allocations: 0.7735 MB / 0.9282 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.8702, allocations: 77.95 kB / 0.9283 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.8703, allocations: 108.6 kB / 0.9284 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.8711, allocations: 0.5152 MB / 0.9289 GB, free: 316 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8711, allocations: 0 / 0.9289 GB, free: 316 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8711, allocations: 1.203 kB / 0.9289 GB, free: 316 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.8711, allocations: 0 / 0.9289 GB, free: 316 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007512/0.8719, allocations: 0.5858 MB / 0.9294 GB, free: 15.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.8719, allocations: 10.25 kB / 0.9295 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.8722, allocations: 52.48 kB / 0.9295 GB, free: 15.82 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.8726, allocations: 293.7 kB / 0.9298 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.8726, allocations: 8.531 kB / 0.9298 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.8726, allocations: 17.09 kB / 0.9298 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.873, allocations: 203.2 kB / 0.93 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.873, allocations: 1.25 kB / 0.93 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.873, allocations: 8.406 kB / 0.93 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.873, allocations: 5.172 kB / 0.93 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.8733, allocations: 124.7 kB / 0.9301 GB, free: 15.52 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.8743, allocations: 0.782 MB / 0.9309 GB, free: 14.99 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.8745, allocations: 89.23 kB / 0.931 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.8747, allocations: 70.59 kB / 0.9311 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/0.875, allocations: 191 kB / 0.9312 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.8751, allocations: 43 kB / 0.9313 GB, free: 14.72 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.8751, allocations: 2.906 kB / 0.9313 GB, free: 14.72 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0006/0.8757, allocations: 215.1 kB / 0.9315 GB, free: 14.68 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.8757, allocations: 52.91 kB / 0.9315 GB, free: 14.61 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.876, allocations: 267.2 kB / 0.9318 GB, free: 14.52 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.876, allocations: 37.38 kB / 0.9318 GB, free: 14.48 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.8761, allocations: 144 kB / 0.932 GB, free: 14.39 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.8761, allocations: 36.98 kB / 0.932 GB, free: 14.37 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.8762, allocations: 27 kB / 0.932 GB, free: 14.35 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.8763, allocations: 337.5 kB / 0.9323 GB, free: 14.04 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.8764, allocations: 47.08 kB / 0.9324 GB, free: 14.03 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.8766, allocations: 94.84 kB / 0.9325 GB, free: 13.98 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.8769, allocations: 116.1 kB / 0.9326 GB, free: 13.95 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8769, allocations: 0 / 0.9326 GB, free: 13.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003627/0.8772, allocations: 167.9 kB / 0.9327 GB, free: 13.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8773, allocations: 5.344 kB / 0.9328 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8773, allocations: 5.734 kB / 0.9328 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8773, allocations: 5.406 kB / 0.9328 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.8774, allocations: 22.34 kB / 0.9328 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8774, allocations: 1.281 kB / 0.9328 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.8776, allocations: 28.14 kB / 0.9328 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.8776, allocations: 4.906 kB / 0.9328 GB, free: 13.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001801/0.8778, allocations: 143.8 kB / 0.933 GB, free: 13.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001645/0.878, allocations: 89.89 kB / 0.933 GB, free: 13.76 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002502/0.8783, allocations: 121.7 kB / 0.9332 GB, free: 13.72 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.8783, allocations: 0.5 kB / 0.9332 GB, free: 13.72 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003445/0.8786, allocations: 157.7 kB / 0.9333 GB, free: 13.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.8786, allocations: 7.781 kB / 0.9333 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.8786, allocations: 0 / 0.9333 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/0.8787, allocations: 9.25 kB / 0.9333 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.8788, allocations: 27.14 kB / 0.9334 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.8788, allocations: 3.938 kB / 0.9334 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.879, allocations: 20.66 kB / 0.9334 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.879, allocations: 4.719 kB / 0.9334 GB, free: 13.66 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.8791, allocations: 185.3 kB / 0.9336 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.8791, allocations: 24.59 kB / 0.9336 GB, free: 13.47 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.8795, allocations: 162.3 kB / 0.9337 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8795, allocations: 5.188 kB / 0.9337 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8795, allocations: 0 / 0.9337 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8795, allocations: 2.906 kB / 0.9337 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.8803, allocations: 0.5954 MB / 0.9343 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8803, allocations: 2.5 kB / 0.9343 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.8804, allocations: 25.05 kB / 0.9343 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8804, allocations: 2.531 kB / 0.9344 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.8805, allocations: 3.156 kB / 0.9344 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.8805, allocations: 9.719 kB / 0.9344 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8805, allocations: 1.203 kB / 0.9344 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.8811, allocations: 0.9279 MB / 0.9353 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.8813, allocations: 115.9 kB / 0.9354 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.8813, allocations: 5.812 kB / 0.9354 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.8815, allocations: 22.17 kB / 0.9354 GB, free: 12.15 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.8816, allocations: 14.61 kB / 0.9354 GB, free: 12.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.8816, allocations: 5.25 kB / 0.9354 GB, free: 12.15 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001489/0.8817, allocations: 195.9 kB / 0.9356 GB, free: 12.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8817, allocations: 3.938 kB / 0.9356 GB, free: 12.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006247/0.8824, allocations: 96.12 kB / 0.9357 GB, free: 12.05 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003365/0.8827, allocations: 162.6 kB / 0.9359 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.8832, allocations: 157.5 kB / 0.936 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8832, allocations: 1.406 kB / 0.936 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.8833, allocations: 65.45 kB / 0.9361 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008294/0.8842, allocations: 137.5 kB / 0.9362 GB, free: 11.94 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008409/0.885, allocations: 0.6286 MB / 0.9368 GB, free: 11.49 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.8854, allocations: 0.7622 MB / 0.9376 GB, free: 10.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.8856, allocations: 69.59 kB / 0.9376 GB, free: 10.77 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.8857, allocations: 20.34 kB / 0.9377 GB, free: 10.76 MB / 0.573 GB Notification: Performance of SimCode: time 2.81e-07/0.8857, allocations: 0 / 0.9377 GB, free: 10.76 MB / 0.573 GB Notification: Performance of Templates: time 0.007978/0.8937, allocations: 4.378 MB / 0.9419 GB, free: 10.46 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)