Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 97.47 kB / 16.26 MB, free: 5.934 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.001322/0.001321, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7693/0.7693, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 71.89 kB / 0.4911 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.377, allocations: 77.92 MB / 0.5672 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.06293/0.4399, allocations: 72.71 MB / 0.6382 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02882/0.4688, allocations: 18.82 MB / 0.6566 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004837/0.4737, allocations: 95.44 kB / 0.6567 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009376/0.4831, allocations: 4.244 MB / 0.6608 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007265/0.4904, allocations: 2.42 MB / 0.6632 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.4958, allocations: 2.076 MB / 0.6652 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01397/0.5098, allocations: 10.82 MB / 0.6758 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008587/0.5184, allocations: 6.133 MB / 0.6818 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.5257, allocations: 3.246 MB / 0.6849 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.5303, allocations: 2.532 MB / 0.6874 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.5318, allocations: 260 kB / 0.6876 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004776/0.5365, allocations: 1.537 MB / 0.6891 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.5384, allocations: 0.8951 MB / 0.69 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003992/0.5424, allocations: 1.955 MB / 0.6919 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008589/0.551, allocations: 5.257 MB / 0.6971 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.551, allocations: 0 / 0.6971 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.551, allocations: 4 kB / 0.6971 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002008/0.5512, allocations: 0 / 0.6971 GB, free: 5.586 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.009826/0.5611, allocations: 4.342 MB / 0.7013 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5611, allocations: 12.61 kB / 0.7013 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.5641, allocations: 0.6745 MB / 0.702 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006189/0.5703, allocations: 3.633 MB / 0.7055 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.5705, allocations: 139.8 kB / 0.7057 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.5708, allocations: 187.9 kB / 0.7058 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/0.5746, allocations: 2.367 MB / 0.7082 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.5746, allocations: 3.938 kB / 0.7082 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.5748, allocations: 75.94 kB / 0.7082 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.5748, allocations: 40 kB / 0.7083 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.5787, allocations: 1.915 MB / 0.7101 GB, free: 7.879 MB / 0.545 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.0153/0.594, allocations: 11.55 MB / 0.7214 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.5968, allocations: 1.349 MB / 0.7227 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.5985, allocations: 1.009 MB / 0.7237 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005881/0.6044, allocations: 3.725 MB / 0.7274 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/0.6059, allocations: 0.7663 MB / 0.7281 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001138/0.607, allocations: 246.7 kB / 0.7283 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=94): time 3.526e-06/0.607, allocations: 0 / 0.7283 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.01197/0.619, allocations: 4.249 MB / 0.7325 GB, free: 136 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6191, allocations: 60.41 kB / 0.7325 GB, free: 64 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/0.6235, allocations: 3.459 MB / 0.7359 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002229/0.6238, allocations: 61.69 kB / 0.736 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.6251, allocations: 1.562 MB / 0.7375 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.6254, allocations: 343.2 kB / 0.7378 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.6261, allocations: 459.4 kB / 0.7383 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.6261, allocations: 309.1 kB / 0.7386 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.6277, allocations: 0.8605 MB / 0.7394 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.6299, allocations: 1.678 MB / 0.741 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/0.6333, allocations: 2.263 MB / 0.7433 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.6333, allocations: 8 kB / 0.7433 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006739/0.64, allocations: 3.349 MB / 0.7465 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.6401, allocations: 37.7 kB / 0.7466 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6401, allocations: 16.91 kB / 0.7466 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/0.6425, allocations: 0.6883 MB / 0.7473 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2812/0.9238, allocations: 348.6 kB / 0.7476 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.926, allocations: 1.911 MB / 0.7495 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.9286, allocations: 130.5 kB / 0.7496 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.9288, allocations: 99.83 kB / 0.7497 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003161/0.932, allocations: 1.589 MB / 0.7512 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002164/0.9342, allocations: 1.648 MB / 0.7528 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003649/0.9378, allocations: 2.205 MB / 0.755 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.018e-05/0.9379, allocations: 4.719 kB / 0.755 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005763/0.9436, allocations: 3.22 MB / 0.7581 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.9437, allocations: 39.08 kB / 0.7582 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.9437, allocations: 21.16 kB / 0.7582 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/0.9447, allocations: 472.7 kB / 0.7586 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.946, allocations: 349.8 kB / 0.759 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/0.9522, allocations: 6.33 MB / 0.7652 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.9546, allocations: 140.5 kB / 0.7653 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.9548, allocations: 90.33 kB / 0.7654 GB, free: 151.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004665/0.9553, allocations: 302.3 kB / 0.7657 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/0.9557, allocations: 334.3 kB / 0.766 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004748/0.9605, allocations: 2.468 MB / 0.7684 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.9605, allocations: 13.03 kB / 0.7684 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9605, allocations: 2.016 kB / 0.7684 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003241/0.9638, allocations: 2.099 MB / 0.7705 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/0.9709, allocations: 4.569 MB / 0.7749 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.971, allocations: 1.156 kB / 0.7749 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.9719, allocations: 177.5 kB / 0.7751 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000987/0.9729, allocations: 473 kB / 0.7755 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.9729, allocations: 31.75 kB / 0.7756 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.9742, allocations: 1.855 MB / 0.7774 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9742, allocations: 1.75 kB / 0.7774 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005008/0.9792, allocations: 3.207 MB / 0.7805 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.9802, allocations: 0.5247 MB / 0.781 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.9806, allocations: 25.91 kB / 0.7811 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.9818, allocations: 78.98 kB / 0.7811 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.982, allocations: 81.78 kB / 0.7812 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.9821, allocations: 45.59 kB / 0.7813 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002746/0.9848, allocations: 2.341 MB / 0.7835 GB, free: 142 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9848, allocations: 0 / 0.7835 GB, free: 142 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003552/0.9884, allocations: 1.507 MB / 0.785 GB, free: 141.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.9896, allocations: 0.5976 MB / 0.7856 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006463/0.9961, allocations: 3.97 MB / 0.7895 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.9961, allocations: 4 kB / 0.7895 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.9975, allocations: 0.8017 MB / 0.7903 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005718/1.003, allocations: 1.451 MB / 0.7917 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009992/1.013, allocations: 6.028 MB / 0.7976 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/1.015, allocations: 2.237 MB / 0.7998 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003495/1.018, allocations: 0.8439 MB / 0.8006 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/1.019, allocations: 235.4 kB / 0.8008 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/1.019, allocations: 0 / 0.8008 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.08323/1.102, allocations: 62.39 MB / 0.8617 GB, free: 64.68 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)