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.001059/0.001059, allocations: 109.1 kB / 17.03 MB, free: 5.699 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.0009788/0.0009789, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.261/1.261, 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.7023/0.7023, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.353, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1689/0.5219, allocations: 161.6 MB / 0.7154 GB, free: 2.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.5249, allocations: 1.756 MB / 0.7171 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.5252, allocations: 11.88 kB / 0.7171 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.5257, allocations: 159 kB / 0.7173 GB, free: 492 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.5269, allocations: 0.5211 MB / 0.7178 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009425/0.5279, allocations: 405.8 kB / 0.7182 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.5302, allocations: 2.527 MB / 0.7206 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.5312, allocations: 0.9216 MB / 0.7215 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.5326, allocations: 1.032 MB / 0.7225 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007814/0.5334, allocations: 0.7039 MB / 0.7232 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-05/0.5335, allocations: 56 kB / 0.7233 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.5347, allocations: 0.7406 MB / 0.724 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.5349, allocations: 314.8 kB / 0.7243 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005329/0.5355, allocations: 0.5362 MB / 0.7248 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5369, allocations: 1.404 MB / 0.7262 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5369, allocations: 0 / 0.7262 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5369, allocations: 0 / 0.7262 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.5369, allocations: 0 / 0.7262 GB, free: 7.305 MB / 0.5606 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.002158/0.5391, allocations: 1.443 MB / 0.7276 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.5392, allocations: 8.031 kB / 0.7276 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007733/0.5399, allocations: 194.4 kB / 0.7278 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5413, allocations: 0.845 MB / 0.7286 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.5413, allocations: 52.92 kB / 0.7287 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/0.5414, allocations: 67.98 kB / 0.7287 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.5425, allocations: 0.7887 MB / 0.7295 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5425, allocations: 4 kB / 0.7295 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.5426, allocations: 31.94 kB / 0.7295 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.5426, allocations: 16 kB / 0.7296 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.5435, allocations: 0.5228 MB / 0.7301 GB, free: 3.141 MB / 0.5606 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.00382/0.5473, allocations: 4.591 MB / 0.7345 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.548, allocations: 418.3 kB / 0.7349 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.5484, allocations: 241.3 kB / 0.7352 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.5487, allocations: 194.2 kB / 0.7354 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.5492, allocations: 289 kB / 0.7356 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/0.5492, allocations: 0 / 0.7356 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.00134/0.5505, allocations: 0.6305 MB / 0.7363 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.5506, allocations: 85.11 kB / 0.7363 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.5519, allocations: 1.118 MB / 0.7374 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.552, allocations: 33.7 kB / 0.7375 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.5524, allocations: 0.4884 MB / 0.7379 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.5525, allocations: 106.5 kB / 0.738 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.5526, allocations: 106 kB / 0.7381 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5528, allocations: 329.9 kB / 0.7385 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.5531, allocations: 214.4 kB / 0.7387 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.5537, allocations: 0.5243 MB / 0.7392 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008237/0.5545, allocations: 0.6408 MB / 0.7398 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5546, allocations: 7.938 kB / 0.7398 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001118/0.5557, allocations: 0.7132 MB / 0.7405 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.5557, allocations: 38.78 kB / 0.7405 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5558, allocations: 4 kB / 0.7405 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5558, allocations: 8 kB / 0.7405 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.5562, allocations: 108.5 kB / 0.7406 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5563, allocations: 15.92 kB / 0.7407 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.5569, allocations: 67.55 kB / 0.7407 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.5569, allocations: 24 kB / 0.7408 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005932/0.5575, allocations: 0.4927 MB / 0.7412 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004968/0.558, allocations: 0.4901 MB / 0.7417 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006705/0.5587, allocations: 0.5606 MB / 0.7423 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.5587, allocations: 7.938 kB / 0.7423 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009237/0.5596, allocations: 0.6392 MB / 0.7429 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.5597, allocations: 33.7 kB / 0.7429 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5597, allocations: 4 kB / 0.7429 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.5597, allocations: 8 kB / 0.7429 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.5601, allocations: 99.88 kB / 0.743 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5601, allocations: 16.27 kB / 0.743 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.5606, allocations: 68.06 kB / 0.7431 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.5607, allocations: 24 kB / 0.7431 GB, free: 4.762 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.000162/0.5608, allocations: 222.3 kB / 0.7433 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.5609, allocations: 98.78 kB / 0.7434 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008068/0.5618, allocations: 0.4923 MB / 0.7439 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5618, allocations: 4 kB / 0.7439 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5618, allocations: 0 / 0.7439 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5618, allocations: 11.92 kB / 0.7439 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.5637, allocations: 1.379 MB / 0.7453 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5637, allocations: 4 kB / 0.7453 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.564, allocations: 59.89 kB / 0.7453 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.564, allocations: 7.938 kB / 0.7454 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.564, allocations: 15.98 kB / 0.7454 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.564, allocations: 4 kB / 0.7454 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.564, allocations: 8.219 kB / 0.7454 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.5648, allocations: 0.6099 MB / 0.746 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.5652, allocations: 211.8 kB / 0.7462 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.5653, allocations: 8 kB / 0.7462 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.5656, allocations: 23.97 kB / 0.7462 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.5657, allocations: 27.91 kB / 0.7462 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.5657, allocations: 16 kB / 0.7462 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009225/0.5667, allocations: 0.7953 MB / 0.747 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5667, allocations: 0 / 0.747 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001026/0.5677, allocations: 403.4 kB / 0.7474 GB, free: 228 kB / 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.0004123/0.5681, allocations: 188.8 kB / 0.7476 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2275/0.7956, allocations: 0.8119 MB / 0.7484 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7957, allocations: 1 kB / 0.7484 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.7961, allocations: 200.4 kB / 0.7486 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.7981, allocations: 453.8 kB / 0.749 GB, free: 175 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.8009, allocations: 1.723 MB / 0.7507 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/0.8016, allocations: 1.177 MB / 0.7518 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001032/0.8027, allocations: 413.2 kB / 0.7522 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.8029, allocations: 75.62 kB / 0.7523 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.8029, allocations: 4.656 kB / 0.7523 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02968/0.8325, allocations: 17.05 MB / 0.769 GB, free: 169.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)