Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 114.7 kB / 17.09 MB, free: 6.004 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.001891/0.001891, allocations: 185.6 kB / 18.02 MB, free: 5.086 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7683/0.7683, allocations: 126.1 MB / 417.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.58 kB / 0.5738 GB, free: 27.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 78.69 MB / 0.6506 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4557/0.5902, allocations: 161.6 MB / 0.8084 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003873/0.5941, allocations: 1.776 MB / 0.8102 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.5947, allocations: 15.25 kB / 0.8102 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.5956, allocations: 159.3 kB / 0.8103 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.5975, allocations: 0.5435 MB / 0.8109 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.5991, allocations: 405.3 kB / 0.8112 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.6022, allocations: 2.547 MB / 0.8137 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.6055, allocations: 2.419 MB / 0.8161 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.6082, allocations: 1.05 MB / 0.8171 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.6098, allocations: 0.716 MB / 0.8178 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.6101, allocations: 57.53 kB / 0.8179 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.6125, allocations: 0.7455 MB / 0.8186 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.6131, allocations: 317.1 kB / 0.8189 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.6143, allocations: 0.544 MB / 0.8194 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.6169, allocations: 1.423 MB / 0.8208 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.617, allocations: 0 / 0.8208 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.053e-06/0.617, allocations: 2.438 kB / 0.8208 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.339e-05/0.617, allocations: 0 / 0.8208 GB, free: 7.777 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003712/0.6207, allocations: 1.497 MB / 0.8223 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6208, allocations: 10.09 kB / 0.8223 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.622, allocations: 190.5 kB / 0.8225 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.6241, allocations: 0.8596 MB / 0.8233 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.6242, allocations: 46.28 kB / 0.8234 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.6243, allocations: 66.92 kB / 0.8234 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.6261, allocations: 0.8205 MB / 0.8242 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.6261, allocations: 3.938 kB / 0.8242 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.6262, allocations: 23.88 kB / 0.8243 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.6262, allocations: 12.19 kB / 0.8243 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.6275, allocations: 0.5723 MB / 0.8248 GB, free: 4.992 MB / 0.5919 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.004586/0.6321, allocations: 4.202 MB / 0.8289 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.6329, allocations: 447.8 kB / 0.8294 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004368/0.6333, allocations: 343.2 kB / 0.8297 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.6336, allocations: 197.6 kB / 0.8299 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.6341, allocations: 313.5 kB / 0.8302 GB, free: 456 kB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002503/0.6344, allocations: 34.33 kB / 0.8302 GB, free: 432 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.975e-06/0.6344, allocations: 0 / 0.8302 GB, free: 432 kB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.005098/0.6395, allocations: 1.681 MB / 0.8318 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.6396, allocations: 86.59 kB / 0.8319 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6409, allocations: 1.149 MB / 0.833 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.641, allocations: 38.92 kB / 0.8331 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.6414, allocations: 492.1 kB / 0.8336 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.6415, allocations: 123.2 kB / 0.8337 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.6416, allocations: 114.8 kB / 0.8338 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6417, allocations: 328.9 kB / 0.8341 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.6421, allocations: 235.1 kB / 0.8343 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.6428, allocations: 0.5413 MB / 0.8348 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.6437, allocations: 0.6681 MB / 0.8355 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6437, allocations: 2.906 kB / 0.8355 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002173/0.6458, allocations: 1.11 MB / 0.8366 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.6459, allocations: 37.19 kB / 0.8366 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6459, allocations: 9.344 kB / 0.8366 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.6472, allocations: 377.4 kB / 0.837 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.6476, allocations: 84.23 kB / 0.8371 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6487, allocations: 1.035 MB / 0.8381 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008458/0.6496, allocations: 62.52 kB / 0.8381 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.6496, allocations: 23.91 kB / 0.8382 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007652/0.6504, allocations: 0.5203 MB / 0.8387 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005928/0.651, allocations: 0.5002 MB / 0.8392 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007745/0.6518, allocations: 0.5975 MB / 0.8397 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.6518, allocations: 3 kB / 0.8397 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001497/0.6533, allocations: 0.9059 MB / 0.8406 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.6534, allocations: 39.58 kB / 0.8407 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6534, allocations: 9.031 kB / 0.8407 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.6539, allocations: 243.2 kB / 0.8409 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.6542, allocations: 85.98 kB / 0.841 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.6578, allocations: 3.284 MB / 0.8442 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/0.6586, allocations: 64.25 kB / 0.8443 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.6587, allocations: 27.98 kB / 0.8443 GB, free: 5.961 MB / 0.6075 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 (35): * Single equations (assignments): 33 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.6589, allocations: 218.8 kB / 0.8445 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.659, allocations: 111.3 kB / 0.8446 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.6604, allocations: 0.7753 MB / 0.8454 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6605, allocations: 7.922 kB / 0.8454 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6605, allocations: 4 kB / 0.8454 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.6608, allocations: 228.3 kB / 0.8456 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.6609, allocations: 4 kB / 0.8456 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.6614, allocations: 39.94 kB / 0.8456 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6615, allocations: 43.92 kB / 0.8457 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001539/0.6631, allocations: 0.8608 MB / 0.8465 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001338/0.6644, allocations: 0.9978 MB / 0.8475 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003326/0.6648, allocations: 203.7 kB / 0.8477 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001015/0.6658, allocations: 0.8197 MB / 0.8485 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of Backend: time 8.01e-07/0.6658, allocations: 0 / 0.8485 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.6685, allocations: 1.196 MB / 0.8496 GB, free: 412 kB / 0.6075 GB Notification: Performance of SimCode: time 0.003977/0.6725, allocations: 2.726 MB / 0.8523 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.03336/0.7059, allocations: 21.79 MB / 0.8736 GB, free: 8.062 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)