Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 118 kB / 16.42 MB, free: 6.012 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.0009708/0.0009708, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 287.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9214/0.9214, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 100.2 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3648, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1562/0.521, allocations: 161.6 MB / 0.9249 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004613/0.5257, allocations: 3.614 MB / 0.9284 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.526, allocations: 11.94 kB / 0.9284 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.5265, allocations: 170.9 kB / 0.9286 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.5277, allocations: 0.5172 MB / 0.9291 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.5288, allocations: 435.1 kB / 0.9295 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002553/0.5314, allocations: 2.548 MB / 0.932 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.5325, allocations: 0.9372 MB / 0.9329 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.5342, allocations: 1.047 MB / 0.9339 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009117/0.5351, allocations: 0.7039 MB / 0.9346 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.5352, allocations: 56 kB / 0.9347 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.5365, allocations: 0.7367 MB / 0.9354 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.5368, allocations: 310.9 kB / 0.9357 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006183/0.5374, allocations: 0.5401 MB / 0.9362 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.5389, allocations: 1.408 MB / 0.9376 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5389, allocations: 0 / 0.9376 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5389, allocations: 0 / 0.9376 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.465e-05/0.539, allocations: 4 kB / 0.9376 GB, free: 4.582 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.002174/0.5411, allocations: 1.443 MB / 0.939 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5412, allocations: 11.97 kB / 0.939 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007942/0.542, allocations: 198.3 kB / 0.9392 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5432, allocations: 0.853 MB / 0.94 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.5433, allocations: 52.88 kB / 0.9401 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.5434, allocations: 56 kB / 0.9401 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5445, allocations: 0.7926 MB / 0.9409 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5445, allocations: 3.938 kB / 0.9409 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.5446, allocations: 24 kB / 0.941 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.5446, allocations: 16 kB / 0.941 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.5455, allocations: 0.5383 MB / 0.9415 GB, free: 412 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.00373/0.5492, allocations: 4.583 MB / 0.946 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.5499, allocations: 418.3 kB / 0.9464 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.5503, allocations: 239.1 kB / 0.9466 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.5506, allocations: 198.2 kB / 0.9468 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.5511, allocations: 297.6 kB / 0.9471 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 3.276e-06/0.5511, allocations: 3.984 kB / 0.9471 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.003784/0.5549, allocations: 1.321 MB / 0.9484 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.555, allocations: 81.11 kB / 0.9484 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.5562, allocations: 1.118 MB / 0.9495 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.5563, allocations: 37.7 kB / 0.9496 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.5567, allocations: 492.2 kB / 0.95 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.5568, allocations: 110.7 kB / 0.9501 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.5569, allocations: 113.9 kB / 0.9502 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.557, allocations: 325.9 kB / 0.9506 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.5574, allocations: 214.4 kB / 0.9508 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.558, allocations: 0.5227 MB / 0.9513 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.5589, allocations: 0.6284 MB / 0.9519 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5589, allocations: 4 kB / 0.9519 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002209/0.5611, allocations: 1.04 MB / 0.9529 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.5612, allocations: 36.52 kB / 0.9529 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5612, allocations: 4 kB / 0.9529 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.5626, allocations: 372.8 kB / 0.9533 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.5628, allocations: 59.91 kB / 0.9534 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009772/0.5638, allocations: 1.008 MB / 0.9543 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.5644, allocations: 75.42 kB / 0.9544 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.5645, allocations: 28.06 kB / 0.9544 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006382/0.5651, allocations: 0.5006 MB / 0.9549 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005155/0.5656, allocations: 485.9 kB / 0.9554 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007415/0.5664, allocations: 0.5551 MB / 0.9559 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.5664, allocations: 4 kB / 0.9559 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.2931/0.8595, allocations: 0.8234 MB / 0.9567 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.8596, allocations: 34.92 kB / 0.9568 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.8596, allocations: 5.438 kB / 0.9568 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.8602, allocations: 206.7 kB / 0.957 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.8604, allocations: 59.61 kB / 0.957 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003763/0.8642, allocations: 3.34 MB / 0.9603 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.865, allocations: 70.69 kB / 0.9604 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.8651, allocations: 23.97 kB / 0.9604 GB, free: 187.9 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.8652, allocations: 214 kB / 0.9606 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.8654, allocations: 101.2 kB / 0.9607 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.8666, allocations: 0.7175 MB / 0.9614 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.8667, allocations: 3.688 kB / 0.9614 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8667, allocations: 0 / 0.9614 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.8669, allocations: 211.5 kB / 0.9616 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.8671, allocations: 7 kB / 0.9616 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.8675, allocations: 23.66 kB / 0.9616 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.8676, allocations: 44.36 kB / 0.9617 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001314/0.8689, allocations: 0.7935 MB / 0.9624 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001091/0.87, allocations: 0.9265 MB / 0.9633 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003093/0.8703, allocations: 189.3 kB / 0.9635 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000967/0.8713, allocations: 0.7926 MB / 0.9643 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of Backend: time 4.51e-07/0.8713, allocations: 3.469 kB / 0.9643 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.8737, allocations: 1.159 MB / 0.9654 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003415/0.8771, allocations: 2.633 MB / 0.968 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02405/0.9012, allocations: 20.66 MB / 0.9882 GB, free: 166.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)