Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 107.3 kB / 16.41 MB, free: 6 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.001038/0.001038, allocations: 191 kB / 17.35 MB, free: 5.605 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.002111, allocations: 292.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9238/0.9238, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 103.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3677, allocations: 86.98 MB / 0.7671 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1642/0.532, allocations: 167.8 MB / 0.9309 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00552/0.5375, allocations: 4.058 MB / 0.9349 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.538, allocations: 23.88 kB / 0.9349 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.5388, allocations: 246.5 kB / 0.9351 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.5405, allocations: 0.7074 MB / 0.9358 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.5417, allocations: 486.2 kB / 0.9363 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.5445, allocations: 2.779 MB / 0.939 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.5474, allocations: 2.556 MB / 0.9415 GB, free: 396 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.5495, allocations: 1.292 MB / 0.9428 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.5507, allocations: 0.8559 MB / 0.9436 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.551, allocations: 76 kB / 0.9437 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.5525, allocations: 0.8147 MB / 0.9445 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.5529, allocations: 374.7 kB / 0.9448 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007911/0.5537, allocations: 0.614 MB / 0.9454 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.5556, allocations: 1.63 MB / 0.947 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5556, allocations: 0 / 0.947 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5556, allocations: 0 / 0.947 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.674e-05/0.5556, allocations: 0 / 0.947 GB, free: 10.72 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002772/0.5584, allocations: 1.627 MB / 0.9486 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5585, allocations: 8.031 kB / 0.9486 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.5593, allocations: 202.3 kB / 0.9488 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.5609, allocations: 0.928 MB / 0.9497 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.561, allocations: 49.31 kB / 0.9498 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5611, allocations: 63.94 kB / 0.9498 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.5626, allocations: 0.9909 MB / 0.9508 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5627, allocations: 3.938 kB / 0.9508 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.5627, allocations: 24 kB / 0.9508 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.5628, allocations: 12 kB / 0.9508 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5641, allocations: 0.8038 MB / 0.9516 GB, free: 5.824 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.004826/0.569, allocations: 4.761 MB / 0.9563 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3041/0.8731, allocations: 4.005 MB / 0.9602 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.8739, allocations: 347.2 kB / 0.9605 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.8742, allocations: 193.4 kB / 0.9607 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/0.8748, allocations: 325.1 kB / 0.961 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003422/0.8752, allocations: 31.88 kB / 0.961 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.975e-06/0.8752, allocations: 0.5312 kB / 0.961 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.005527/0.8807, allocations: 1.741 MB / 0.9627 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.8808, allocations: 82.77 kB / 0.9628 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.8822, allocations: 1.185 MB / 0.964 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.8822, allocations: 34.97 kB / 0.964 GB, free: 186 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.8826, allocations: 0.5107 MB / 0.9645 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.8827, allocations: 124.9 kB / 0.9646 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.8828, allocations: 124.1 kB / 0.9647 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.8829, allocations: 322.1 kB / 0.965 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.8833, allocations: 244 kB / 0.9653 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.8839, allocations: 0.56 MB / 0.9658 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/0.8847, allocations: 0.6832 MB / 0.9665 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8847, allocations: 1.156 kB / 0.9665 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002245/0.887, allocations: 1.149 MB / 0.9676 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.887, allocations: 39.72 kB / 0.9676 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.887, allocations: 5.562 kB / 0.9676 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.8884, allocations: 399.5 kB / 0.968 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.8887, allocations: 70.52 kB / 0.9681 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008774/0.8896, allocations: 1.056 MB / 0.9691 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/0.8904, allocations: 63.03 kB / 0.9692 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.8904, allocations: 27.73 kB / 0.9692 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006752/0.8911, allocations: 0.521 MB / 0.9697 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004624/0.8916, allocations: 0.5212 MB / 0.9702 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005965/0.8922, allocations: 0.6075 MB / 0.9708 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.8922, allocations: 3.969 kB / 0.9708 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001255/0.8935, allocations: 0.9156 MB / 0.9717 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.8935, allocations: 34.33 kB / 0.9718 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8935, allocations: 8.156 kB / 0.9718 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.894, allocations: 254.7 kB / 0.972 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.8943, allocations: 73.72 kB / 0.9721 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.8971, allocations: 3.347 MB / 0.9753 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/0.8979, allocations: 67.92 kB / 0.9754 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.8979, allocations: 28.06 kB / 0.9754 GB, free: 178.7 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 (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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.898, allocations: 220.5 kB / 0.9756 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/0.8981, allocations: 114.6 kB / 0.9758 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.8993, allocations: 0.8157 MB / 0.9766 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8993, allocations: 3.938 kB / 0.9766 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8993, allocations: 0 / 0.9766 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.8996, allocations: 223.7 kB / 0.9768 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.8997, allocations: 12 kB / 0.9768 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/0.9003, allocations: 39.94 kB / 0.9768 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.9004, allocations: 54.72 kB / 0.9769 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001269/0.9017, allocations: 0.8429 MB / 0.9777 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009782/0.9026, allocations: 1.007 MB / 0.9787 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002788/0.9029, allocations: 211.8 kB / 0.9789 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007167/0.9037, allocations: 0.8329 MB / 0.9797 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of Backend: time 4.31e-07/0.9037, allocations: 0 / 0.9797 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.9058, allocations: 1.237 MB / 0.9809 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003024/0.9088, allocations: 2.807 MB / 0.9836 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02608/0.9349, allocations: 22.25 MB / 1.005 GB, free: 148.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)