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.001204/0.001204, allocations: 116.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.001197/0.001197, allocations: 185.6 kB / 18.02 MB, free: 5.094 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.215/1.215, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6589/0.6589, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.42 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 76.19 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4212/0.5318, allocations: 161.6 MB / 0.7906 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.5342, allocations: 1.766 MB / 0.7923 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.5344, allocations: 12.2 kB / 0.7923 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.5349, allocations: 161 kB / 0.7924 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.536, allocations: 0.5225 MB / 0.7929 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008197/0.5368, allocations: 399.3 kB / 0.7933 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.5389, allocations: 2.529 MB / 0.7958 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.5398, allocations: 0.922 MB / 0.7967 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.5412, allocations: 1.035 MB / 0.7977 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.5419, allocations: 0.7212 MB / 0.7984 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.542, allocations: 55.47 kB / 0.7985 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.5431, allocations: 0.7357 MB / 0.7992 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.5433, allocations: 309.1 kB / 0.7995 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.5438, allocations: 0.5421 MB / 0.8 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.545, allocations: 1.4 MB / 0.8014 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.545, allocations: 2.438 kB / 0.8014 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.21e-07/0.545, allocations: 0 / 0.8014 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.545, allocations: 0 / 0.8014 GB, free: 11.71 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.001893/0.5469, allocations: 1.444 MB / 0.8028 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5469, allocations: 7.812 kB / 0.8028 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.5477, allocations: 189 kB / 0.803 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5488, allocations: 0.8522 MB / 0.8038 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.5488, allocations: 43.34 kB / 0.8039 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.5489, allocations: 59.28 kB / 0.8039 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5499, allocations: 0.7964 MB / 0.8047 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5499, allocations: 0 / 0.8047 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.55, allocations: 20.75 kB / 0.8047 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.55, allocations: 13.03 kB / 0.8047 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.5507, allocations: 0.5373 MB / 0.8052 GB, free: 9.898 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.003304/0.5541, allocations: 4.596 MB / 0.8097 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.5547, allocations: 408.3 kB / 0.8101 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.555, allocations: 249.9 kB / 0.8104 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.5553, allocations: 194.4 kB / 0.8105 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.5557, allocations: 288.6 kB / 0.8108 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.5557, allocations: 7.875 kB / 0.8108 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001147/0.5569, allocations: 0.6277 MB / 0.8114 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.5569, allocations: 83.36 kB / 0.8115 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.5579, allocations: 1.122 MB / 0.8126 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.558, allocations: 37.42 kB / 0.8127 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.5583, allocations: 490.9 kB / 0.8131 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/0.5584, allocations: 112.3 kB / 0.8132 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5585, allocations: 113.7 kB / 0.8133 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5586, allocations: 325.1 kB / 0.8136 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.559, allocations: 214.3 kB / 0.8138 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.5595, allocations: 0.5273 MB / 0.8144 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.5602, allocations: 0.6315 MB / 0.815 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5602, allocations: 0.875 kB / 0.815 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000975/0.5612, allocations: 0.7194 MB / 0.8157 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5613, allocations: 36.98 kB / 0.8157 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5613, allocations: 9.188 kB / 0.8157 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5613, allocations: 7 kB / 0.8157 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.5617, allocations: 112.4 kB / 0.8158 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.5617, allocations: 11.44 kB / 0.8159 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.5623, allocations: 71.91 kB / 0.8159 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.5623, allocations: 29.44 kB / 0.816 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005496/0.5629, allocations: 0.4979 MB / 0.8164 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004646/0.5633, allocations: 492.8 kB / 0.8169 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006377/0.564, allocations: 0.5492 MB / 0.8174 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.564, allocations: 6.656 kB / 0.8174 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0008873/0.5649, allocations: 0.6466 MB / 0.8181 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.5649, allocations: 41.34 kB / 0.8181 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.565, allocations: 4.906 kB / 0.8181 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.565, allocations: 8.469 kB / 0.8181 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.5653, allocations: 106.4 kB / 0.8182 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.5653, allocations: 12.19 kB / 0.8182 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.5659, allocations: 64.88 kB / 0.8183 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.5659, allocations: 24.98 kB / 0.8183 GB, free: 1.59 MB / 0.5919 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.0001514/0.566, allocations: 222.4 kB / 0.8185 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5662, allocations: 106.7 kB / 0.8186 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000786/0.5669, allocations: 498.8 kB / 0.8191 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.567, allocations: 2.406 kB / 0.8191 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.567, allocations: 0 / 0.8191 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.5672, allocations: 210.4 kB / 0.8193 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.5673, allocations: 7.938 kB / 0.8193 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.5677, allocations: 29.41 kB / 0.8194 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.5677, allocations: 25 kB / 0.8194 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008234/0.5686, allocations: 0.5665 MB / 0.8199 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007377/0.5693, allocations: 0.7051 MB / 0.8206 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002682/0.5696, allocations: 176.3 kB / 0.8208 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007985/0.5704, allocations: 0.7933 MB / 0.8216 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Backend: time 5.01e-07/0.5704, allocations: 0 / 0.8216 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.5722, allocations: 0.881 MB / 0.8224 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003146/0.5754, allocations: 2.472 MB / 0.8248 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.02598/0.6014, allocations: 18.9 MB / 0.8433 GB, free: 13.47 MB / 0.6231 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)