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.00111/0.00111, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001021/0.001021, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7288/0.7288, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 69.97 kB / 0.5577 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 76.18 MB / 0.6321 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.56/0.7075, allocations: 161.6 MB / 0.7899 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003216/0.7107, allocations: 1.762 MB / 0.7916 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.7111, allocations: 20.66 kB / 0.7916 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.7118, allocations: 156.1 kB / 0.7918 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.7131, allocations: 0.5211 MB / 0.7923 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009485/0.714, allocations: 390.5 kB / 0.7927 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.7164, allocations: 2.529 MB / 0.7951 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.7174, allocations: 0.9282 MB / 0.796 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.719, allocations: 1.04 MB / 0.7971 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.7197, allocations: 0.7029 MB / 0.7977 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.849e-05/0.7198, allocations: 55.22 kB / 0.7978 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.7212, allocations: 0.7476 MB / 0.7985 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.7215, allocations: 306.2 kB / 0.7988 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.7221, allocations: 0.5377 MB / 0.7993 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.7237, allocations: 1.4 MB / 0.8007 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7237, allocations: 4 kB / 0.8007 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7237, allocations: 0 / 0.8007 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.7237, allocations: 0 / 0.8007 GB, free: 12.15 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.002177/0.7259, allocations: 1.444 MB / 0.8021 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.726, allocations: 14.09 kB / 0.8021 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007188/0.7267, allocations: 186.7 kB / 0.8023 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.7281, allocations: 0.85 MB / 0.8031 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.7281, allocations: 44.44 kB / 0.8032 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.7282, allocations: 59.89 kB / 0.8032 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.7294, allocations: 0.792 MB / 0.804 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7294, allocations: 3.938 kB / 0.804 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.7295, allocations: 21.44 kB / 0.804 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.7295, allocations: 12.56 kB / 0.8041 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.7303, allocations: 0.5439 MB / 0.8046 GB, free: 10.34 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.004004/0.7344, allocations: 4.593 MB / 0.8091 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.735, allocations: 407.4 kB / 0.8095 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.7354, allocations: 253.8 kB / 0.8097 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.7357, allocations: 198.8 kB / 0.8099 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004389/0.7361, allocations: 284 kB / 0.8102 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/0.7361, allocations: 0 / 0.8102 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001278/0.7374, allocations: 0.6314 MB / 0.8108 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.7375, allocations: 89.72 kB / 0.8109 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.7387, allocations: 1.112 MB / 0.8119 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.7388, allocations: 37.83 kB / 0.812 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.7392, allocations: 491.2 kB / 0.8125 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.7393, allocations: 113.3 kB / 0.8126 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.7394, allocations: 109.6 kB / 0.8127 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7396, allocations: 325.7 kB / 0.813 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.7399, allocations: 214.7 kB / 0.8132 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.7405, allocations: 0.5277 MB / 0.8137 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008426/0.7413, allocations: 0.6391 MB / 0.8143 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7414, allocations: 4 kB / 0.8143 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001132/0.7425, allocations: 0.7207 MB / 0.815 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.7425, allocations: 33.52 kB / 0.8151 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7426, allocations: 5.281 kB / 0.8151 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7426, allocations: 7.938 kB / 0.8151 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.743, allocations: 116 kB / 0.8152 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.743, allocations: 11.62 kB / 0.8152 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.7436, allocations: 73.64 kB / 0.8153 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.7437, allocations: 28.14 kB / 0.8153 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006575/0.7444, allocations: 0.4906 MB / 0.8158 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005276/0.7449, allocations: 492.6 kB / 0.8162 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007101/0.7456, allocations: 0.5613 MB / 0.8168 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.7456, allocations: 0 / 0.8168 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001003/0.7466, allocations: 0.6496 MB / 0.8174 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.7467, allocations: 37.78 kB / 0.8175 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7467, allocations: 9.688 kB / 0.8175 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.7467, allocations: 7.344 kB / 0.8175 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.747, allocations: 103.2 kB / 0.8176 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.7471, allocations: 10.09 kB / 0.8176 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.7477, allocations: 65.83 kB / 0.8176 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.7477, allocations: 26.09 kB / 0.8177 GB, free: 1.641 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.0001928/0.7479, allocations: 223.6 kB / 0.8179 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.748, allocations: 102.2 kB / 0.818 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008466/0.7489, allocations: 0.4906 MB / 0.8185 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.7489, allocations: 2.094 kB / 0.8185 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7489, allocations: 2.281 kB / 0.8185 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7489, allocations: 0 / 0.8185 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.7509, allocations: 1.384 MB / 0.8198 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7509, allocations: 2.469 kB / 0.8198 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.7512, allocations: 61.2 kB / 0.8199 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.7512, allocations: 8.344 kB / 0.8199 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.7512, allocations: 9.688 kB / 0.8199 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7512, allocations: 6.031 kB / 0.8199 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7512, allocations: 2.719 kB / 0.8199 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/0.7521, allocations: 0.6015 MB / 0.8205 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.7524, allocations: 214.1 kB / 0.8207 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.7525, allocations: 14.44 kB / 0.8207 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.7529, allocations: 18.2 kB / 0.8207 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.753, allocations: 34.92 kB / 0.8208 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.753, allocations: 11.47 kB / 0.8208 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009411/0.754, allocations: 0.7897 MB / 0.8215 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.623e-06/0.754, allocations: 0 / 0.8215 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001076/0.755, allocations: 411.1 kB / 0.8219 GB, free: 15 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.0004173/0.7555, allocations: 184.8 kB / 0.8221 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.7568, allocations: 0.8128 MB / 0.8229 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7568, allocations: 0 / 0.8229 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.7571, allocations: 200 kB / 0.8231 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.759, allocations: 460.4 kB / 0.8235 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.7614, allocations: 1.734 MB / 0.8252 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.7621, allocations: 1.18 MB / 0.8264 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009161/0.763, allocations: 410.9 kB / 0.8268 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.7632, allocations: 76.05 kB / 0.8268 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.7632, allocations: 0 / 0.8268 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Templates: time 0.03021/0.7934, allocations: 17.46 MB / 0.8439 GB, free: 12.24 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)