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.001271/0.001271, allocations: 108.5 kB / 17.08 MB, free: 5.996 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.001393/0.001392, allocations: 192.7 kB / 18.01 MB, free: 5.074 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7029/0.7029, allocations: 115.3 MB / 407.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.48 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 76.19 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6181/0.7555, allocations: 161.6 MB / 0.7905 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003414/0.759, allocations: 1.756 MB / 0.7923 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.7595, allocations: 15.25 kB / 0.7923 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000695/0.7602, allocations: 160.8 kB / 0.7924 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.7618, allocations: 0.5306 MB / 0.7929 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.763, allocations: 389.1 kB / 0.7933 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.7658, allocations: 2.527 MB / 0.7958 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.767, allocations: 0.9288 MB / 0.7967 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.7689, allocations: 1.034 MB / 0.7977 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008194/0.7697, allocations: 0.7119 MB / 0.7984 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.613e-05/0.7698, allocations: 57.84 kB / 0.7985 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.7715, allocations: 0.7351 MB / 0.7992 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.7719, allocations: 306.3 kB / 0.7995 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.7727, allocations: 0.5457 MB / 0.8 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.7744, allocations: 1.407 MB / 0.8014 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7744, allocations: 0 / 0.8014 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7744, allocations: 4 kB / 0.8014 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.7744, allocations: 0 / 0.8014 GB, free: 11.7 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.00218/0.7766, allocations: 1.435 MB / 0.8028 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.7767, allocations: 14.12 kB / 0.8028 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/0.7774, allocations: 188.1 kB / 0.803 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.7786, allocations: 0.8551 MB / 0.8038 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.7787, allocations: 45.56 kB / 0.8038 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.7788, allocations: 60.03 kB / 0.8039 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.7799, allocations: 0.788 MB / 0.8047 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.7799, allocations: 3.938 kB / 0.8047 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.78, allocations: 24.12 kB / 0.8047 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.78, allocations: 12.72 kB / 0.8047 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/0.7809, allocations: 0.5405 MB / 0.8052 GB, free: 9.887 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.003843/0.7847, allocations: 4.586 MB / 0.8097 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.7854, allocations: 407.1 kB / 0.8101 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.7858, allocations: 252.6 kB / 0.8104 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.7861, allocations: 204.3 kB / 0.8105 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.7866, allocations: 289.1 kB / 0.8108 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.7866, allocations: 0 / 0.8108 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001298/0.7879, allocations: 0.6258 MB / 0.8114 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.7879, allocations: 89.38 kB / 0.8115 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.7892, allocations: 1.116 MB / 0.8126 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.7892, allocations: 37.98 kB / 0.8126 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.7896, allocations: 491.6 kB / 0.8131 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.7897, allocations: 116 kB / 0.8132 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.7899, allocations: 109.4 kB / 0.8133 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.79, allocations: 325.7 kB / 0.8136 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.7903, allocations: 213.5 kB / 0.8138 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.7909, allocations: 0.5239 MB / 0.8144 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.7918, allocations: 0.6391 MB / 0.815 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.7918, allocations: 0 / 0.815 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001086/0.7929, allocations: 0.7222 MB / 0.8157 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.7929, allocations: 33.39 kB / 0.8157 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7929, allocations: 7.344 kB / 0.8157 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.793, allocations: 12.52 kB / 0.8157 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.7934, allocations: 104.8 kB / 0.8158 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.7934, allocations: 11.28 kB / 0.8158 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.794, allocations: 76.3 kB / 0.8159 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.7941, allocations: 27.92 kB / 0.8159 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006206/0.7947, allocations: 0.4915 MB / 0.8164 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005187/0.7953, allocations: 491.8 kB / 0.8169 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006822/0.7959, allocations: 0.5562 MB / 0.8174 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.796, allocations: 2.812 kB / 0.8174 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009471/0.7969, allocations: 0.6466 MB / 0.8181 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.797, allocations: 41.34 kB / 0.8181 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.797, allocations: 2.781 kB / 0.8181 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.797, allocations: 14.11 kB / 0.8181 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.7973, allocations: 103.2 kB / 0.8182 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.7973, allocations: 11.38 kB / 0.8182 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.7979, allocations: 68.67 kB / 0.8183 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.798, allocations: 21.91 kB / 0.8183 GB, free: 1.602 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.0001818/0.7982, allocations: 235.3 kB / 0.8185 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7983, allocations: 98.03 kB / 0.8186 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008709/0.7992, allocations: 494.8 kB / 0.8191 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.7992, allocations: 8.281 kB / 0.8191 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7992, allocations: 0.875 kB / 0.8191 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7992, allocations: 0 / 0.8191 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.801, allocations: 1.39 MB / 0.8205 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.801, allocations: 4.031 kB / 0.8205 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.8013, allocations: 67.55 kB / 0.8205 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.8013, allocations: 6 kB / 0.8206 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.8013, allocations: 13.69 kB / 0.8206 GB, free: 60 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.8013, allocations: 2.094 kB / 0.8206 GB, free: 60 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8013, allocations: 2.281 kB / 0.8206 GB, free: 60 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.8021, allocations: 0.5972 MB / 0.8212 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.8024, allocations: 214.5 kB / 0.8214 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.8025, allocations: 16.31 kB / 0.8214 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.8029, allocations: 22.72 kB / 0.8214 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.803, allocations: 28.03 kB / 0.8214 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.803, allocations: 10.59 kB / 0.8214 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009113/0.8039, allocations: 0.7915 MB / 0.8222 GB, free: 15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8039, allocations: 0 / 0.8222 GB, free: 15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001044/0.805, allocations: 406.7 kB / 0.8226 GB, free: 14.95 MB / 0.6075 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.000425/0.8054, allocations: 176.5 kB / 0.8228 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.8067, allocations: 0.8228 MB / 0.8236 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8067, allocations: 0 / 0.8236 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.807, allocations: 186.9 kB / 0.8237 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.8087, allocations: 457.8 kB / 0.8242 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.8116, allocations: 1.789 MB / 0.8259 GB, free: 13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007512/0.8123, allocations: 1.176 MB / 0.8271 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.8125, allocations: 74.22 kB / 0.8271 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.8125, allocations: 0 / 0.8271 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of Templates: time 0.02765/0.8402, allocations: 16.1 MB / 0.8429 GB, free: 13.75 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)