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.001585/0.001585, allocations: 118.7 kB / 17.08 MB, free: 5.992 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.001741/0.001741, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.367/1.367, 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.7064/0.7064, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.56 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1563, allocations: 76.18 MB / 0.6327 GB, free: 4.289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6132/0.7696, allocations: 161.6 MB / 0.7905 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.7735, allocations: 1.767 MB / 0.7923 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.7743, allocations: 14.81 kB / 0.7923 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008633/0.7752, allocations: 157.6 kB / 0.7924 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.7771, allocations: 0.5236 MB / 0.7929 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.7786, allocations: 391.5 kB / 0.7933 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.7816, allocations: 2.529 MB / 0.7958 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.7829, allocations: 0.9297 MB / 0.7967 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.7849, allocations: 1.037 MB / 0.7977 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009276/0.7858, allocations: 0.7096 MB / 0.7984 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.7859, allocations: 54.28 kB / 0.7985 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.7876, allocations: 0.7435 MB / 0.7992 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.7879, allocations: 303.7 kB / 0.7995 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006566/0.7886, allocations: 0.5455 MB / 0.8 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.7904, allocations: 1.4 MB / 0.8014 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7904, allocations: 0 / 0.8014 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7904, allocations: 0 / 0.8014 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.7904, allocations: 0 / 0.8014 GB, free: 11.73 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.002287/0.7927, allocations: 1.441 MB / 0.8028 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7928, allocations: 13.78 kB / 0.8028 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007717/0.7935, allocations: 187.5 kB / 0.803 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.7948, allocations: 0.8547 MB / 0.8038 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.7948, allocations: 43.78 kB / 0.8038 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.7949, allocations: 59.84 kB / 0.8039 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.796, allocations: 0.7884 MB / 0.8047 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7961, allocations: 3.938 kB / 0.8047 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.7961, allocations: 24.84 kB / 0.8047 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.7961, allocations: 12.53 kB / 0.8047 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.797, allocations: 0.5364 MB / 0.8052 GB, free: 9.91 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.003797/0.8008, allocations: 4.588 MB / 0.8097 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.8014, allocations: 410.9 kB / 0.8101 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.8018, allocations: 254.4 kB / 0.8104 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.8021, allocations: 191 kB / 0.8105 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/0.8026, allocations: 298.9 kB / 0.8108 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.324e-06/0.8026, allocations: 224 / 0.8108 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.00137/0.804, allocations: 0.6289 MB / 0.8114 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.8041, allocations: 86.64 kB / 0.8115 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.8053, allocations: 1.117 MB / 0.8126 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.8053, allocations: 39.14 kB / 0.8126 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.8057, allocations: 490.9 kB / 0.8131 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.8058, allocations: 105.5 kB / 0.8132 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.806, allocations: 113 kB / 0.8133 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8061, allocations: 326.1 kB / 0.8136 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.8065, allocations: 218.3 kB / 0.8138 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.807, allocations: 0.5273 MB / 0.8144 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.8079, allocations: 0.6401 MB / 0.815 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8079, allocations: 0 / 0.815 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001135/0.809, allocations: 0.7222 MB / 0.8157 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.8091, allocations: 33.52 kB / 0.8157 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.8091, allocations: 7.656 kB / 0.8157 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.8091, allocations: 7.5 kB / 0.8157 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.8096, allocations: 112.2 kB / 0.8158 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.8096, allocations: 7.656 kB / 0.8158 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.8103, allocations: 73.02 kB / 0.8159 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.8103, allocations: 23.81 kB / 0.8159 GB, free: 3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000693/0.811, allocations: 0.4962 MB / 0.8164 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004968/0.8115, allocations: 491.7 kB / 0.8169 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007069/0.8123, allocations: 0.5629 MB / 0.8174 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.906e-06/0.8123, allocations: 0 / 0.8174 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009558/0.8132, allocations: 0.6515 MB / 0.8181 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.8133, allocations: 33.08 kB / 0.8181 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8133, allocations: 9.203 kB / 0.8181 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.8133, allocations: 7.438 kB / 0.8181 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.8136, allocations: 105.7 kB / 0.8182 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8137, allocations: 7.875 kB / 0.8182 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.8143, allocations: 65.72 kB / 0.8183 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.8143, allocations: 21.84 kB / 0.8183 GB, free: 1.652 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.000184/0.8145, allocations: 230.9 kB / 0.8185 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.8146, allocations: 96.31 kB / 0.8186 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008682/0.8155, allocations: 497.5 kB / 0.8191 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8155, allocations: 2.25 kB / 0.8191 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.8155, allocations: 10.77 kB / 0.8191 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.8155, allocations: 7.922 kB / 0.8191 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.8174, allocations: 1.383 MB / 0.8205 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.8174, allocations: 6.719 kB / 0.8205 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.8176, allocations: 67.36 kB / 0.8205 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.8176, allocations: 6.062 kB / 0.8206 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.8177, allocations: 9.25 kB / 0.8206 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8177, allocations: 2.688 kB / 0.8206 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8177, allocations: 2.5 kB / 0.8206 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.8185, allocations: 0.5925 MB / 0.8211 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.8187, allocations: 212.3 kB / 0.8213 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.8189, allocations: 14.83 kB / 0.8214 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.8192, allocations: 18.11 kB / 0.8214 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.8193, allocations: 35.03 kB / 0.8214 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.8194, allocations: 11.11 kB / 0.8214 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000917/0.8203, allocations: 0.7903 MB / 0.8222 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8203, allocations: 4 kB / 0.8222 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001083/0.8214, allocations: 409.5 kB / 0.8226 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.0004199/0.8218, allocations: 176.4 kB / 0.8228 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.8231, allocations: 0.8143 MB / 0.8236 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8232, allocations: 1.562 kB / 0.8236 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.8235, allocations: 194.8 kB / 0.8237 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.8253, allocations: 464.6 kB / 0.8242 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.8281, allocations: 1.783 MB / 0.8259 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.8289, allocations: 1.173 MB / 0.8271 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.8291, allocations: 77.7 kB / 0.8271 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.8291, allocations: 0 / 0.8271 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.02481/0.854, allocations: 15.97 MB / 0.8427 GB, free: 13.88 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)