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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 113.1 kB / 17.33 MB, free: 5.008 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.001258/0.001258, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.471/1.471, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8444/0.8444, allocations: 128.4 MB / 426.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 64.14 kB / 0.5912 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1864, allocations: 83.27 MB / 0.6725 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5525/0.7389, allocations: 162.1 MB / 0.8308 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.7426, allocations: 1.764 MB / 0.8325 GB, free: 316 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.7431, allocations: 15.25 kB / 0.8326 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007288/0.7438, allocations: 174.8 kB / 0.8327 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.7456, allocations: 0.544 MB / 0.8333 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.747, allocations: 396 kB / 0.8336 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003239/0.7502, allocations: 2.486 MB / 0.8361 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.7517, allocations: 0.7984 MB / 0.8368 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.7542, allocations: 1.186 MB / 0.838 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.7558, allocations: 0.7282 MB / 0.8387 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002695/0.7561, allocations: 55.19 kB / 0.8388 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.758, allocations: 0.756 MB / 0.8395 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005384/0.7585, allocations: 307.6 kB / 0.8398 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.7597, allocations: 0.5337 MB / 0.8403 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.762, allocations: 1.415 MB / 0.8417 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7621, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7621, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.135e-05/0.7621, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.6075 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.003359/0.7655, allocations: 1.484 MB / 0.8431 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.7655, allocations: 8 kB / 0.8432 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.7664, allocations: 195.4 kB / 0.8433 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.7679, allocations: 0.8587 MB / 0.8442 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.768, allocations: 46.2 kB / 0.8442 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.7681, allocations: 61.28 kB / 0.8443 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.7695, allocations: 0.7932 MB / 0.8451 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.7695, allocations: 6.781 kB / 0.8451 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.7696, allocations: 17 kB / 0.8451 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.7696, allocations: 14.94 kB / 0.8451 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.7706, allocations: 0.5324 MB / 0.8456 GB, free: 7.996 MB / 0.6075 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.005706/0.7764, allocations: 4.6 MB / 0.8501 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.7771, allocations: 390.8 kB / 0.8505 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.7775, allocations: 230.2 kB / 0.8507 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/0.7778, allocations: 199.4 kB / 0.8509 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.7784, allocations: 299.5 kB / 0.8512 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.7784, allocations: 0 / 0.8512 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.00151/0.7799, allocations: 0.6299 MB / 0.8518 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.7799, allocations: 86.31 kB / 0.8519 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.7817, allocations: 1.112 MB / 0.853 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.7817, allocations: 39.08 kB / 0.853 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/0.7822, allocations: 499.5 kB / 0.8535 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.7823, allocations: 114.6 kB / 0.8536 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.7825, allocations: 119.2 kB / 0.8537 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7827, allocations: 331.4 kB / 0.854 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.7831, allocations: 216.2 kB / 0.8542 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.7838, allocations: 0.5218 MB / 0.8547 GB, free: 404 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.7847, allocations: 0.6356 MB / 0.8553 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.7847, allocations: 4 kB / 0.8553 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001462/0.7862, allocations: 0.7167 MB / 0.856 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.7862, allocations: 38.34 kB / 0.8561 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.7863, allocations: 4 kB / 0.8561 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.7863, allocations: 12 kB / 0.8561 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.7868, allocations: 107.8 kB / 0.8562 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.7868, allocations: 11.98 kB / 0.8562 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008143/0.7876, allocations: 75.53 kB / 0.8563 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/0.7877, allocations: 31.92 kB / 0.8563 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009295/0.7886, allocations: 0.5006 MB / 0.8568 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006997/0.7893, allocations: 489.9 kB / 0.8573 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000915/0.7902, allocations: 0.5605 MB / 0.8578 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/0.7902, allocations: 4 kB / 0.8578 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001371/0.7916, allocations: 0.6463 MB / 0.8585 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.7916, allocations: 33.7 kB / 0.8585 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.7916, allocations: 8 kB / 0.8585 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7917, allocations: 8.656 kB / 0.8585 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.792, allocations: 107.8 kB / 0.8586 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.7921, allocations: 8 kB / 0.8586 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.7929, allocations: 64.16 kB / 0.8587 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.793, allocations: 24 kB / 0.8587 GB, free: 12.22 MB / 0.6231 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.0002852/0.7932, allocations: 216 kB / 0.8589 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.7935, allocations: 107.3 kB / 0.859 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.7947, allocations: 0.4902 MB / 0.8595 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.7947, allocations: 0 / 0.8595 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.7947, allocations: 4 kB / 0.8595 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7947, allocations: 192 / 0.8595 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.7981, allocations: 1.385 MB / 0.8608 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7981, allocations: 3.938 kB / 0.8608 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.7984, allocations: 72.09 kB / 0.8609 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.7984, allocations: 8 kB / 0.8609 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.7984, allocations: 8.5 kB / 0.8609 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.7984, allocations: 3.984 kB / 0.8609 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7984, allocations: 4 kB / 0.8609 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.7995, allocations: 0.6027 MB / 0.8615 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.7999, allocations: 224.3 kB / 0.8617 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.8002, allocations: 11.81 kB / 0.8618 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.8007, allocations: 19.97 kB / 0.8618 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.8008, allocations: 35.91 kB / 0.8618 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.8008, allocations: 8 kB / 0.8618 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001431/0.8023, allocations: 0.7914 MB / 0.8626 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8023, allocations: 0 / 0.8626 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001656/0.8039, allocations: 407.6 kB / 0.863 GB, free: 7.691 MB / 0.6231 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.0005689/0.8045, allocations: 182.7 kB / 0.8631 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.8062, allocations: 0.7998 MB / 0.8639 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8062, allocations: 0 / 0.8639 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.8066, allocations: 191.7 kB / 0.8641 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.8086, allocations: 448.3 kB / 0.8645 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.812, allocations: 1.749 MB / 0.8662 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.813, allocations: 1.18 MB / 0.8674 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00106/0.814, allocations: 407.7 kB / 0.8678 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.8143, allocations: 75.42 kB / 0.8679 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of SimCode: time 7.42e-07/0.8143, allocations: 4 kB / 0.8679 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of Templates: time 0.03382/0.8481, allocations: 17.42 MB / 0.8849 GB, free: 1.352 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 660] (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) [Timeout 480]