Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 113.3 kB / 16.42 MB, free: 6.441 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.001034/0.001034, 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 291.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9621/0.9621, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.37, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1604/0.5304, allocations: 167.8 MB / 0.9309 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.5341, allocations: 2.203 MB / 0.9331 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004359/0.5345, allocations: 11.94 kB / 0.9331 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007189/0.5352, allocations: 254.5 kB / 0.9333 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.537, allocations: 0.7001 MB / 0.934 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.5382, allocations: 443.6 kB / 0.9344 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00289/0.5411, allocations: 2.767 MB / 0.9371 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.544, allocations: 2.556 MB / 0.9396 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.5461, allocations: 1.285 MB / 0.9409 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.5474, allocations: 0.8597 MB / 0.9417 GB, free: 412 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.5477, allocations: 76 kB / 0.9418 GB, free: 336 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.5493, allocations: 0.8225 MB / 0.9426 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.5498, allocations: 362.8 kB / 0.9429 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009152/0.5507, allocations: 0.6218 MB / 0.9435 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.5527, allocations: 1.626 MB / 0.9451 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5527, allocations: 0 / 0.9451 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5527, allocations: 0 / 0.9451 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.621e-05/0.5527, allocations: 0 / 0.9451 GB, free: 12.89 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003004/0.5557, allocations: 1.611 MB / 0.9467 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5558, allocations: 12.02 kB / 0.9467 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/0.5567, allocations: 194.3 kB / 0.9469 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.5583, allocations: 0.928 MB / 0.9478 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.5584, allocations: 61.23 kB / 0.9479 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5585, allocations: 67.94 kB / 0.9479 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.56, allocations: 0.9831 MB / 0.9489 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.56, allocations: 11.94 kB / 0.9489 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.5601, allocations: 20 kB / 0.9489 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5601, allocations: 16 kB / 0.9489 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.5614, allocations: 0.7921 MB / 0.9497 GB, free: 8.012 MB / 0.7169 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.004513/0.566, allocations: 4.761 MB / 0.9544 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3015/0.8675, allocations: 4.012 MB / 0.9583 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.8682, allocations: 342.5 kB / 0.9586 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.8685, allocations: 196.5 kB / 0.9588 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006044/0.8691, allocations: 322.1 kB / 0.9591 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003409/0.8694, allocations: 34.02 kB / 0.9591 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 3.616e-06/0.8694, allocations: 0.5156 kB / 0.9591 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.004979/0.8744, allocations: 1.584 MB / 0.9607 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.8745, allocations: 81.86 kB / 0.9607 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.8759, allocations: 1.187 MB / 0.9619 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.8759, allocations: 35.33 kB / 0.9619 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.8763, allocations: 0.5102 MB / 0.9624 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.8763, allocations: 125.9 kB / 0.9626 GB, free: 188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.8765, allocations: 117.3 kB / 0.9627 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.8766, allocations: 327 kB / 0.963 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.877, allocations: 237.9 kB / 0.9632 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.8775, allocations: 0.5668 MB / 0.9638 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.8784, allocations: 0.6856 MB / 0.9644 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8784, allocations: 5.5 kB / 0.9644 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002112/0.8805, allocations: 1.107 MB / 0.9655 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.8805, allocations: 39.11 kB / 0.9656 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8806, allocations: 5.5 kB / 0.9656 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.8818, allocations: 351.6 kB / 0.9659 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.8822, allocations: 98.89 kB / 0.966 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008379/0.883, allocations: 1.004 MB / 0.967 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.8838, allocations: 65.34 kB / 0.967 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.8839, allocations: 33.02 kB / 0.9671 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006805/0.8846, allocations: 0.5269 MB / 0.9676 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004575/0.885, allocations: 0.5219 MB / 0.9681 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006469/0.8857, allocations: 0.5996 MB / 0.9687 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.8857, allocations: 3.281 kB / 0.9687 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001265/0.887, allocations: 0.8925 MB / 0.9696 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.887, allocations: 37.41 kB / 0.9696 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.887, allocations: 3.969 kB / 0.9696 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.8874, allocations: 230.9 kB / 0.9698 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.8878, allocations: 92.2 kB / 0.9699 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.8904, allocations: 3.151 MB / 0.973 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.8912, allocations: 67.52 kB / 0.973 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.8912, allocations: 27.42 kB / 0.9731 GB, free: 181.6 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.0001467/0.8914, allocations: 217.9 kB / 0.9733 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.8915, allocations: 109.6 kB / 0.9734 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.8926, allocations: 0.7847 MB / 0.9741 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8926, allocations: 0 / 0.9741 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8926, allocations: 4 kB / 0.9741 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.8929, allocations: 223.8 kB / 0.9744 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.8931, allocations: 4 kB / 0.9744 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.8936, allocations: 51.44 kB / 0.9744 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.8937, allocations: 43.92 kB / 0.9745 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001262/0.8949, allocations: 0.8473 MB / 0.9753 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009855/0.8959, allocations: 0.9994 MB / 0.9763 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002756/0.8962, allocations: 203.8 kB / 0.9765 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007324/0.897, allocations: 0.8404 MB / 0.9773 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of Backend: time 1.91e-07/0.897, allocations: 0 / 0.9773 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.8993, allocations: 1.233 MB / 0.9785 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003048/0.9023, allocations: 2.771 MB / 0.9812 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02603/0.9284, allocations: 22.01 MB / 1.003 GB, free: 151.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)