Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 115.6 kB / 17.08 MB, free: 6.016 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.00121/0.00121, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.284/1.284, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6623/0.6623, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.45 kB / 0.5584 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1367, allocations: 76.18 MB / 0.6327 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.0529/0.1897, allocations: 53.68 MB / 0.6852 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.2153, allocations: 17.01 MB / 0.7018 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.2188, allocations: 91.5 kB / 0.7019 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006074/0.2249, allocations: 1.913 MB / 0.7037 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008888/0.2338, allocations: 2.512 MB / 0.7062 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006585/0.2404, allocations: 2.344 MB / 0.7085 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01058/0.251, allocations: 7.54 MB / 0.7158 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.2539, allocations: 1.67 MB / 0.7175 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.2587, allocations: 1.96 MB / 0.7194 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.2612, allocations: 1.431 MB / 0.7208 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.2619, allocations: 180 kB / 0.721 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004437/0.2663, allocations: 2.02 MB / 0.7229 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.2673, allocations: 0.6657 MB / 0.7236 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002333/0.2697, allocations: 1.224 MB / 0.7248 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007807/0.2775, allocations: 3.922 MB / 0.7286 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.2776, allocations: 4 kB / 0.7286 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2776, allocations: 8 kB / 0.7286 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000163/0.2778, allocations: 0 / 0.7286 GB, free: 1.859 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.008619/0.2864, allocations: 2.936 MB / 0.7315 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2865, allocations: 16.03 kB / 0.7315 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.2898, allocations: 0.5433 MB / 0.732 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007161/0.297, allocations: 2.738 MB / 0.7347 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.2972, allocations: 102.1 kB / 0.7348 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005055/0.2977, allocations: 116 kB / 0.7349 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/0.3015, allocations: 1.363 MB / 0.7362 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.3015, allocations: 0 / 0.7362 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.3017, allocations: 44 kB / 0.7363 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.3018, allocations: 46.08 kB / 0.7363 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.3047, allocations: 1.105 MB / 0.7374 GB, free: 8.59 MB / 0.5762 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.01069/0.3154, allocations: 7.468 MB / 0.7447 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2945/0.6099, allocations: 1.321 MB / 0.746 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.611, allocations: 428.4 kB / 0.7464 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005174/0.6162, allocations: 3.155 MB / 0.7495 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.6172, allocations: 432.4 kB / 0.7499 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.6172, allocations: 0 / 0.7499 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.00293/0.6201, allocations: 1.244 MB / 0.7511 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.6201, allocations: 61.56 kB / 0.7512 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.623, allocations: 2.126 MB / 0.7532 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.6231, allocations: 43.7 kB / 0.7533 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/0.6238, allocations: 1.019 MB / 0.7543 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.624, allocations: 217.5 kB / 0.7545 GB, free: 102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.6245, allocations: 315.5 kB / 0.7548 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.6245, allocations: 306.4 kB / 0.7551 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.6256, allocations: 0.5458 MB / 0.7556 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.6268, allocations: 0.9916 MB / 0.7566 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.6289, allocations: 1.456 MB / 0.758 GB, free: 99.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.629, allocations: 3.469 kB / 0.758 GB, free: 99.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003583/0.6325, allocations: 1.764 MB / 0.7597 GB, free: 99.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.6326, allocations: 38.22 kB / 0.7598 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.6326, allocations: 12.88 kB / 0.7598 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.6327, allocations: 19.06 kB / 0.7598 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.6338, allocations: 314 kB / 0.7601 GB, free: 99.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.6338, allocations: 24.16 kB / 0.7601 GB, free: 99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.6352, allocations: 185.1 kB / 0.7603 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6353, allocations: 59.81 kB / 0.7604 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001818/0.6371, allocations: 0.9742 MB / 0.7613 GB, free: 98.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/0.6385, allocations: 0.9895 MB / 0.7623 GB, free: 97.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002031/0.6406, allocations: 1.449 MB / 0.7637 GB, free: 96.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.217e-06/0.6406, allocations: 5.031 kB / 0.7637 GB, free: 96.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.00314/0.6437, allocations: 1.772 MB / 0.7654 GB, free: 96.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.6438, allocations: 38.52 kB / 0.7655 GB, free: 96.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.6438, allocations: 11.84 kB / 0.7655 GB, free: 96.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6438, allocations: 17.59 kB / 0.7655 GB, free: 96.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.6448, allocations: 313.1 kB / 0.7658 GB, free: 96.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.6449, allocations: 25.5 kB / 0.7658 GB, free: 96.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6461, allocations: 156.7 kB / 0.766 GB, free: 96.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.6462, allocations: 58.36 kB / 0.766 GB, free: 96.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003199/0.6466, allocations: 270.2 kB / 0.7663 GB, free: 95.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.6468, allocations: 195.9 kB / 0.7665 GB, free: 95.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.6491, allocations: 1.126 MB / 0.7676 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.6492, allocations: 12.19 kB / 0.7676 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.6492, allocations: 0 / 0.7676 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001638/0.6508, allocations: 0.9607 MB / 0.7685 GB, free: 94.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.6548, allocations: 2.618 MB / 0.7711 GB, free: 93.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6548, allocations: 0 / 0.7711 GB, free: 93.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.6555, allocations: 147.8 kB / 0.7712 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.6556, allocations: 24.09 kB / 0.7712 GB, free: 93.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.6557, allocations: 23.7 kB / 0.7713 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006828/0.6563, allocations: 1.427 MB / 0.7726 GB, free: 92.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6564, allocations: 0 / 0.7726 GB, free: 92.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.659, allocations: 1.568 MB / 0.7742 GB, free: 91.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/0.6596, allocations: 400.9 kB / 0.7746 GB, free: 90.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.6599, allocations: 19.84 kB / 0.7746 GB, free: 90.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/0.6607, allocations: 73.39 kB / 0.7746 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.6608, allocations: 56.02 kB / 0.7747 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.6609, allocations: 31.11 kB / 0.7747 GB, free: 90.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001637/0.6625, allocations: 1.479 MB / 0.7762 GB, free: 90.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6625, allocations: 0 / 0.7762 GB, free: 90.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002154/0.6647, allocations: 1.026 MB / 0.7772 GB, free: 89.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.6663, allocations: 0.8622 MB / 0.778 GB, free: 89.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003399/0.6697, allocations: 2.099 MB / 0.7801 GB, free: 87.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6697, allocations: 0 / 0.7801 GB, free: 87.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009358/0.6707, allocations: 0.5387 MB / 0.7806 GB, free: 87.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/0.674, allocations: 0.9598 MB / 0.7815 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.6792, allocations: 3.714 MB / 0.7852 GB, free: 82.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.6799, allocations: 1.539 MB / 0.7867 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.6805, allocations: 178.3 kB / 0.7868 GB, free: 80.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.6805, allocations: 0 / 0.7868 GB, free: 80.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04101/0.7215, allocations: 40.81 MB / 0.8267 GB, free: 40.34 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)