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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 202 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9727/0.9727, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 68.45 kB / 0.6423 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1999, allocations: 89.18 MB / 0.7294 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6138/0.8138, allocations: 142.4 MB / 0.8685 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003733/0.8175, allocations: 1.66 MB / 0.8701 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005312/0.818, allocations: 19.81 kB / 0.8701 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007787/0.8188, allocations: 158.9 kB / 0.8703 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.8207, allocations: 0.529 MB / 0.8708 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.8221, allocations: 405.7 kB / 0.8712 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.8252, allocations: 2.535 MB / 0.8736 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.8263, allocations: 0.6488 MB / 0.8743 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.8292, allocations: 1.219 MB / 0.8755 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.8305, allocations: 0.7662 MB / 0.8762 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.8307, allocations: 52 kB / 0.8763 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.8321, allocations: 0.6003 MB / 0.8768 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.8324, allocations: 310.8 kB / 0.8771 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.833, allocations: 465.6 kB / 0.8776 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.835, allocations: 1.415 MB / 0.879 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.835, allocations: 0 / 0.879 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.835, allocations: 0 / 0.879 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.835, allocations: 4 kB / 0.879 GB, free: 11.77 MB / 0.6544 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.002526/0.8375, allocations: 1.433 MB / 0.8804 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.8376, allocations: 12.03 kB / 0.8804 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007475/0.8383, allocations: 191.1 kB / 0.8806 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.8399, allocations: 0.8222 MB / 0.8814 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.84, allocations: 41 kB / 0.8814 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.8401, allocations: 63.94 kB / 0.8815 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.8413, allocations: 0.7927 MB / 0.8822 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.8413, allocations: 0 / 0.8822 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.8414, allocations: 24 kB / 0.8823 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.8414, allocations: 12 kB / 0.8823 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.8423, allocations: 0.5422 MB / 0.8828 GB, free: 7.668 MB / 0.6544 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.004027/0.8464, allocations: 3.339 MB / 0.8861 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.8471, allocations: 398.3 kB / 0.8864 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.8475, allocations: 228.7 kB / 0.8867 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.8478, allocations: 39.97 kB / 0.8867 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/0.8483, allocations: 293.5 kB / 0.887 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/0.8483, allocations: 3.938 kB / 0.887 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001474/0.8498, allocations: 0.6395 MB / 0.8876 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.8499, allocations: 81.11 kB / 0.8877 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.8513, allocations: 1.073 MB / 0.8887 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.8513, allocations: 33.7 kB / 0.8888 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/0.8518, allocations: 0.4888 MB / 0.8892 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.8519, allocations: 111 kB / 0.8893 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.8521, allocations: 114.1 kB / 0.8895 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8522, allocations: 333.9 kB / 0.8898 GB, free: 324 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.8527, allocations: 240.1 kB / 0.89 GB, free: 76 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.8537, allocations: 1.124 MB / 0.8911 GB, free: 14.67 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009437/0.8547, allocations: 0.6305 MB / 0.8917 GB, free: 13.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.8547, allocations: 4.562 kB / 0.8917 GB, free: 13.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001341/0.856, allocations: 0.7505 MB / 0.8925 GB, free: 13.18 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.8561, allocations: 35.73 kB / 0.8925 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.8561, allocations: 4 kB / 0.8925 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.8561, allocations: 8 kB / 0.8925 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.8566, allocations: 113.2 kB / 0.8926 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.8566, allocations: 11.94 kB / 0.8926 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.8572, allocations: 67.69 kB / 0.8927 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.8572, allocations: 27.98 kB / 0.8927 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007888/0.858, allocations: 0.5295 MB / 0.8932 GB, free: 12.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009853/0.859, allocations: 1.097 MB / 0.8943 GB, free: 11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008044/0.8598, allocations: 0.5605 MB / 0.8948 GB, free: 10.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.8598, allocations: 7.922 kB / 0.8949 GB, free: 10.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001129/0.8609, allocations: 0.6685 MB / 0.8955 GB, free: 9.664 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.861, allocations: 41.7 kB / 0.8955 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.861, allocations: 8.812 kB / 0.8956 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.861, allocations: 8 kB / 0.8956 GB, free: 9.602 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.8613, allocations: 95.88 kB / 0.8957 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.8613, allocations: 15.92 kB / 0.8957 GB, free: 9.492 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.8619, allocations: 77.14 kB / 0.8957 GB, free: 9.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.862, allocations: 20 kB / 0.8958 GB, free: 9.398 MB / 0.67 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.0002255/0.8622, allocations: 217 kB / 0.896 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.8623, allocations: 103.3 kB / 0.8961 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/0.8633, allocations: 0.4886 MB / 0.8965 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.8633, allocations: 4 kB / 0.8965 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8633, allocations: 0.5 kB / 0.8965 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8633, allocations: 11.98 kB / 0.8966 GB, free: 8.566 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.8654, allocations: 1.256 MB / 0.8978 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.8654, allocations: 7.25 kB / 0.8978 GB, free: 7.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.8656, allocations: 63.89 kB / 0.8979 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.8656, allocations: 12.16 kB / 0.8979 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.8657, allocations: 11.94 kB / 0.8979 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.8657, allocations: 7.984 kB / 0.8979 GB, free: 7.152 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8657, allocations: 4 kB / 0.8979 GB, free: 7.148 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.8666, allocations: 0.5948 MB / 0.8985 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.8669, allocations: 127.3 kB / 0.8986 GB, free: 6.391 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.867, allocations: 15.92 kB / 0.8986 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.8674, allocations: 23.98 kB / 0.8986 GB, free: 6.352 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.8675, allocations: 31.95 kB / 0.8987 GB, free: 6.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.8675, allocations: 11.98 kB / 0.8987 GB, free: 6.309 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001012/0.8685, allocations: 0.7516 MB / 0.8994 GB, free: 5.547 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8685, allocations: 0 / 0.8994 GB, free: 5.547 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00115/0.8697, allocations: 427.3 kB / 0.8998 GB, free: 5.129 MB / 0.67 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.0003182/0.87, allocations: 155 kB / 0.9 GB, free: 4.969 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.8714, allocations: 0.8541 MB / 0.9008 GB, free: 4.086 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8714, allocations: 3.938 kB / 0.9008 GB, free: 4.082 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.8718, allocations: 192.2 kB / 0.901 GB, free: 3.895 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.8734, allocations: 398.3 kB / 0.9014 GB, free: 3.523 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.8764, allocations: 1.818 MB / 0.9031 GB, free: 1.641 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.877, allocations: 0.59 MB / 0.9037 GB, free: 1.016 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.8772, allocations: 79.36 kB / 0.9038 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of SimCode: time 9.81e-07/0.8772, allocations: 0 / 0.9038 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of Templates: time 0.02676/0.904, allocations: 15.93 MB / 0.9193 GB, free: 1.141 MB / 0.6856 GB " [Timeout remaining time 659] 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] [Calling sys.exit(0), Time elapsed: 11.026878041680902] Failed to read output from testmodel.py, exit status != 0: 0.9134548050351441 0.927858586 0.089520612 Calling exit ...