Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 110.1 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.00217, allocations: 295.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9201/0.9201, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 99.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3597, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1543/0.5141, allocations: 161.6 MB / 0.9249 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.5186, allocations: 3.627 MB / 0.9284 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.519, allocations: 15.88 kB / 0.9284 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.5196, allocations: 162.9 kB / 0.9286 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.5209, allocations: 0.5245 MB / 0.9291 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.5221, allocations: 438.8 kB / 0.9295 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002551/0.5247, allocations: 2.539 MB / 0.932 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.5259, allocations: 0.9372 MB / 0.9329 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.5276, allocations: 1.043 MB / 0.9339 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009862/0.5286, allocations: 0.7117 MB / 0.9346 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.5287, allocations: 52 kB / 0.9347 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.5301, allocations: 0.7484 MB / 0.9354 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.5304, allocations: 302.9 kB / 0.9357 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.5309, allocations: 0.544 MB / 0.9362 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.5323, allocations: 1.404 MB / 0.9376 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5323, allocations: 0 / 0.9376 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5323, allocations: 0 / 0.9376 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.5323, allocations: 4 kB / 0.9376 GB, free: 4.609 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002013/0.5343, allocations: 1.455 MB / 0.939 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.5344, allocations: 8.031 kB / 0.939 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.5351, allocations: 194.4 kB / 0.9392 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.5363, allocations: 0.8491 MB / 0.94 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.5364, allocations: 41 kB / 0.9401 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/0.5365, allocations: 63.98 kB / 0.9401 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5376, allocations: 0.7964 MB / 0.9409 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.5376, allocations: 3.938 kB / 0.9409 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.5377, allocations: 24 kB / 0.9409 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.5377, allocations: 12 kB / 0.941 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.5386, allocations: 0.5383 MB / 0.9415 GB, free: 444 kB / 0.7012 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.003587/0.5422, allocations: 4.583 MB / 0.946 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.5429, allocations: 426.2 kB / 0.9464 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.5433, allocations: 239.1 kB / 0.9466 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.5435, allocations: 202.2 kB / 0.9468 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.544, allocations: 289.6 kB / 0.9471 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.694e-06/0.544, allocations: 0 / 0.9471 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.004852/0.5489, allocations: 1.658 MB / 0.9487 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.5489, allocations: 81.11 kB / 0.9488 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5502, allocations: 1.114 MB / 0.9498 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.5502, allocations: 41.7 kB / 0.9499 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.5506, allocations: 488.2 kB / 0.9503 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.5507, allocations: 102.5 kB / 0.9504 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.5508, allocations: 117.9 kB / 0.9506 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5509, allocations: 330.2 kB / 0.9509 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.5513, allocations: 214.4 kB / 0.9511 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.5519, allocations: 0.5185 MB / 0.9516 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.5528, allocations: 0.6305 MB / 0.9522 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5528, allocations: 0 / 0.9522 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002096/0.5549, allocations: 1.049 MB / 0.9532 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5549, allocations: 37.7 kB / 0.9533 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.555, allocations: 4 kB / 0.9533 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.5562, allocations: 394.6 kB / 0.9536 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.5565, allocations: 59.91 kB / 0.9537 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.5578, allocations: 1.083 MB / 0.9548 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.5584, allocations: 67.5 kB / 0.9548 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.5584, allocations: 27.98 kB / 0.9548 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006439/0.5591, allocations: 0.5044 MB / 0.9553 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005183/0.5596, allocations: 493.9 kB / 0.9558 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007241/0.5603, allocations: 0.5551 MB / 0.9564 GB, free: 188 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.928e-06/0.5603, allocations: 4 kB / 0.9564 GB, free: 184 kB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.3035/0.8638, allocations: 0.8223 MB / 0.9572 GB, free: 190 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.8639, allocations: 35.12 kB / 0.9572 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.8639, allocations: 5.938 kB / 0.9572 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.8645, allocations: 221.6 kB / 0.9574 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.8648, allocations: 61.44 kB / 0.9575 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.8683, allocations: 3.258 MB / 0.9606 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006657/0.869, allocations: 66.3 kB / 0.9607 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.8691, allocations: 22.31 kB / 0.9607 GB, free: 188 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.8692, allocations: 218.6 kB / 0.9609 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.8693, allocations: 98.89 kB / 0.961 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.8706, allocations: 0.7129 MB / 0.9617 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.8706, allocations: 4.594 kB / 0.9617 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8706, allocations: 1.281 kB / 0.9617 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.8708, allocations: 209.4 kB / 0.9619 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.871, allocations: 7.031 kB / 0.9619 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.8713, allocations: 24.64 kB / 0.962 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.8715, allocations: 46.88 kB / 0.962 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001343/0.8728, allocations: 0.8043 MB / 0.9628 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001087/0.8739, allocations: 0.9224 MB / 0.9637 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003188/0.8742, allocations: 177.8 kB / 0.9639 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009033/0.8751, allocations: 0.793 MB / 0.9646 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of Backend: time 3.31e-07/0.8751, allocations: 0 / 0.9646 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002995/0.8782, allocations: 1.288 MB / 0.9659 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003243/0.8814, allocations: 2.671 MB / 0.9685 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02383/0.9053, allocations: 20.36 MB / 0.9884 GB, free: 165.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)