Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 104.5 kB / 16.27 MB, free: 5.965 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.001335/0.001335, allocations: 193.7 kB / 17.2 MB, free: 5.594 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7685/0.7685, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.84 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3375, allocations: 77.93 MB / 0.5672 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1655/0.503, allocations: 161.6 MB / 0.725 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.5061, allocations: 1.769 MB / 0.7268 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.5064, allocations: 15.88 kB / 0.7268 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.5071, allocations: 155 kB / 0.7269 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.5086, allocations: 0.5289 MB / 0.7274 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.5098, allocations: 392.8 kB / 0.7278 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.5125, allocations: 2.52 MB / 0.7303 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.5137, allocations: 0.9372 MB / 0.7312 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.5157, allocations: 1.016 MB / 0.7322 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.517, allocations: 0.7 MB / 0.7329 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.5171, allocations: 56 kB / 0.7329 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.5188, allocations: 0.7367 MB / 0.7336 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.5191, allocations: 310.9 kB / 0.7339 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.5198, allocations: 0.544 MB / 0.7345 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.5214, allocations: 1.382 MB / 0.7358 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5214, allocations: 3.938 kB / 0.7358 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5214, allocations: 0 / 0.7358 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.5214, allocations: 0 / 0.7358 GB, free: 13.55 MB / 0.5762 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.002372/0.5238, allocations: 1.454 MB / 0.7372 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5239, allocations: 12.62 kB / 0.7372 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007668/0.5246, allocations: 186.5 kB / 0.7374 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5258, allocations: 0.7982 MB / 0.7382 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.5258, allocations: 49 kB / 0.7383 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.5259, allocations: 56 kB / 0.7383 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.527, allocations: 0.7888 MB / 0.7391 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5271, allocations: 7.938 kB / 0.7391 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.5271, allocations: 20 kB / 0.7391 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.5272, allocations: 16 kB / 0.7391 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.5281, allocations: 0.5378 MB / 0.7396 GB, free: 9.434 MB / 0.5762 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.004193/0.5323, allocations: 4.606 MB / 0.7441 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.533, allocations: 422.2 kB / 0.7445 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.5334, allocations: 241.6 kB / 0.7448 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.5337, allocations: 194.2 kB / 0.745 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.5341, allocations: 285.1 kB / 0.7452 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 4.008e-06/0.5341, allocations: 0 / 0.7452 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001349/0.5355, allocations: 0.6342 MB / 0.7459 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.5356, allocations: 85.05 kB / 0.7459 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.5369, allocations: 1.118 MB / 0.747 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.537, allocations: 37.7 kB / 0.7471 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.5374, allocations: 492.1 kB / 0.7475 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.5375, allocations: 110.5 kB / 0.7476 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.5377, allocations: 117.9 kB / 0.7477 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5378, allocations: 321.9 kB / 0.7481 GB, free: 308 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.5382, allocations: 218.4 kB / 0.7483 GB, free: 88 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2849/0.8231, allocations: 0.5114 MB / 0.7488 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.8243, allocations: 0.6346 MB / 0.7494 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.8243, allocations: 2.125 kB / 0.7494 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001781/0.8261, allocations: 0.7201 MB / 0.7501 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.8262, allocations: 39.02 kB / 0.7501 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.8262, allocations: 5.719 kB / 0.7501 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.8262, allocations: 7.938 kB / 0.7501 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.8268, allocations: 111.8 kB / 0.7502 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.8268, allocations: 12.5 kB / 0.7503 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000951/0.8278, allocations: 70.61 kB / 0.7503 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.8279, allocations: 34.86 kB / 0.7504 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009451/0.8288, allocations: 0.4938 MB / 0.7508 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005456/0.8294, allocations: 494.1 kB / 0.7513 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007716/0.8302, allocations: 0.5577 MB / 0.7519 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.16e-06/0.8302, allocations: 1.438 kB / 0.7519 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001422/0.8316, allocations: 0.6398 MB / 0.7525 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.8317, allocations: 39.78 kB / 0.7525 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8317, allocations: 5.969 kB / 0.7525 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8317, allocations: 8 kB / 0.7525 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.8322, allocations: 102.1 kB / 0.7526 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.8322, allocations: 13.12 kB / 0.7526 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.833, allocations: 68.77 kB / 0.7527 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.833, allocations: 24.66 kB / 0.7527 GB, free: 170 MB / 0.5762 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.8333, allocations: 221.9 kB / 0.7529 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.8334, allocations: 100.9 kB / 0.753 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.8346, allocations: 0.4926 MB / 0.7535 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.8346, allocations: 4.094 kB / 0.7535 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8346, allocations: 0.6562 kB / 0.7535 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8346, allocations: 2.422 kB / 0.7535 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.8372, allocations: 1.382 MB / 0.7549 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.8373, allocations: 5.656 kB / 0.7549 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.8376, allocations: 62.36 kB / 0.7549 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.8376, allocations: 3.734 kB / 0.7549 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.8376, allocations: 10.34 kB / 0.755 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.8376, allocations: 8.719 kB / 0.755 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8376, allocations: 2.906 kB / 0.755 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009213/0.8386, allocations: 0.6063 MB / 0.7556 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.8389, allocations: 213.3 kB / 0.7558 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.839, allocations: 11.8 kB / 0.7558 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.8394, allocations: 23.92 kB / 0.7558 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.8395, allocations: 27.05 kB / 0.7558 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.8396, allocations: 16.81 kB / 0.7558 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001127/0.8407, allocations: 0.7876 MB / 0.7566 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8407, allocations: 0 / 0.7566 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001493/0.8422, allocations: 409.6 kB / 0.757 GB, free: 168.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004823/0.8427, allocations: 173.1 kB / 0.7572 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.8446, allocations: 0.8614 MB / 0.758 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.8446, allocations: 0 / 0.758 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.845, allocations: 203.3 kB / 0.7582 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.8471, allocations: 458.7 kB / 0.7586 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.8499, allocations: 1.764 MB / 0.7604 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.8506, allocations: 1.176 MB / 0.7615 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001251/0.8518, allocations: 397 kB / 0.7619 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.852, allocations: 76.02 kB / 0.762 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.852, allocations: 0 / 0.762 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02544/0.8775, allocations: 17.06 MB / 0.7786 GB, free: 156.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)