Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 115.7 kB / 17.05 MB, free: 6.035 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.001115/0.001115, allocations: 191 kB / 17.99 MB, free: 5.121 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7193/0.7193, allocations: 115.3 MB / 407.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 66.31 kB / 0.5582 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.157, allocations: 76.17 MB / 0.6326 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5717/0.7287, allocations: 161.6 MB / 0.7904 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004737/0.7335, allocations: 3.627 MB / 0.794 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.734, allocations: 10.81 kB / 0.794 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.7347, allocations: 162 kB / 0.7941 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.7363, allocations: 0.5341 MB / 0.7946 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.7376, allocations: 433.2 kB / 0.7951 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002813/0.7404, allocations: 2.545 MB / 0.7975 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.7418, allocations: 0.9348 MB / 0.7985 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.7437, allocations: 1.034 MB / 0.7995 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.7446, allocations: 0.7031 MB / 0.8001 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.7447, allocations: 55.78 kB / 0.8002 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.7463, allocations: 0.7417 MB / 0.8009 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.7466, allocations: 309.2 kB / 0.8012 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.7473, allocations: 0.5425 MB / 0.8017 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.7489, allocations: 1.408 MB / 0.8031 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7489, allocations: 0 / 0.8031 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7489, allocations: 0 / 0.8031 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.192e-05/0.7489, allocations: 0 / 0.8031 GB, free: 11.54 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002258/0.7512, allocations: 1.449 MB / 0.8045 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7513, allocations: 11.81 kB / 0.8045 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.752, allocations: 191 kB / 0.8047 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.7533, allocations: 0.8582 MB / 0.8056 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.7534, allocations: 43.06 kB / 0.8056 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.7535, allocations: 59.81 kB / 0.8057 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.7546, allocations: 0.7874 MB / 0.8064 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.7546, allocations: 3.938 kB / 0.8064 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.7546, allocations: 24.03 kB / 0.8065 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.7547, allocations: 12.72 kB / 0.8065 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.7555, allocations: 0.5408 MB / 0.807 GB, free: 9.535 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.003896/0.7594, allocations: 4.58 MB / 0.8115 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.7601, allocations: 418.8 kB / 0.8119 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.7605, allocations: 242.4 kB / 0.8121 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.7608, allocations: 194.2 kB / 0.8123 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.7612, allocations: 298.1 kB / 0.8126 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.7613, allocations: 0 / 0.8126 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.003664/0.7649, allocations: 1.316 MB / 0.8139 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.765, allocations: 82.83 kB / 0.8139 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.7663, allocations: 1.12 MB / 0.815 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.7664, allocations: 40.23 kB / 0.8151 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.7668, allocations: 487.9 kB / 0.8155 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.7669, allocations: 117.7 kB / 0.8157 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.767, allocations: 113 kB / 0.8158 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7671, allocations: 324.3 kB / 0.8161 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.7675, allocations: 215.3 kB / 0.8163 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.7681, allocations: 0.5224 MB / 0.8168 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.7689, allocations: 0.6256 MB / 0.8174 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.7689, allocations: 3.031 kB / 0.8174 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00215/0.7711, allocations: 1.04 MB / 0.8184 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.7711, allocations: 40.25 kB / 0.8185 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7711, allocations: 5.062 kB / 0.8185 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.7725, allocations: 361.1 kB / 0.8188 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.7727, allocations: 57.41 kB / 0.8189 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000981/0.7737, allocations: 1.016 MB / 0.8198 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.7744, allocations: 78.77 kB / 0.8199 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.7745, allocations: 24.38 kB / 0.8199 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007475/0.7753, allocations: 0.4947 MB / 0.8204 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000524/0.7758, allocations: 486.4 kB / 0.8209 GB, free: 392 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007439/0.7765, allocations: 0.5599 MB / 0.8214 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/0.7766, allocations: 3 kB / 0.8214 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00146/0.778, allocations: 0.8317 MB / 0.8223 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.7781, allocations: 35.64 kB / 0.8223 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7781, allocations: 8.844 kB / 0.8223 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/0.7786, allocations: 205.8 kB / 0.8225 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.7788, allocations: 65.34 kB / 0.8226 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.7824, allocations: 3.338 MB / 0.8258 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/0.7831, allocations: 62.53 kB / 0.8259 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.7832, allocations: 21.81 kB / 0.8259 GB, free: 12.63 MB / 0.6075 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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.7834, allocations: 222.4 kB / 0.8261 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.7835, allocations: 102.8 kB / 0.8262 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.7848, allocations: 0.7056 MB / 0.8269 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.7848, allocations: 4.844 kB / 0.8269 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7848, allocations: 0 / 0.8269 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.7848, allocations: 6.203 kB / 0.8269 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.7871, allocations: 1.601 MB / 0.8285 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7871, allocations: 3.938 kB / 0.8285 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.7873, allocations: 25.17 kB / 0.8285 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.7877, allocations: 225.1 kB / 0.8287 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.7877, allocations: 15.42 kB / 0.8287 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008671/0.7886, allocations: 0.9846 MB / 0.8297 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7886, allocations: 2.844 kB / 0.8297 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.7898, allocations: 0.8188 MB / 0.8305 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.7902, allocations: 219.9 kB / 0.8307 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.7904, allocations: 6.562 kB / 0.8307 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.7908, allocations: 26.38 kB / 0.8307 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.7909, allocations: 38.33 kB / 0.8308 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.7909, allocations: 11.81 kB / 0.8308 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001109/0.7921, allocations: 0.7983 MB / 0.8316 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.7921, allocations: 0 / 0.8316 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001314/0.7934, allocations: 430.8 kB / 0.832 GB, free: 8.723 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004522/0.7938, allocations: 172 kB / 0.8321 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.7958, allocations: 1.076 MB / 0.8332 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7958, allocations: 2.25 kB / 0.8332 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.7963, allocations: 224.8 kB / 0.8334 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.7984, allocations: 468.8 kB / 0.8338 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.8015, allocations: 1.799 MB / 0.8356 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.8023, allocations: 1.181 MB / 0.8368 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.8025, allocations: 63.44 kB / 0.8368 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of SimCode: time 6.52e-07/0.8025, allocations: 0 / 0.8368 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of Templates: time 0.028/0.8305, allocations: 20.32 MB / 0.8567 GB, free: 152 kB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)