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.001252/0.001256, allocations: 112 kB / 17.09 MB, free: 5.961 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.001285/0.001285, allocations: 200.2 kB / 18.03 MB, free: 5.043 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.248/1.248, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6916/0.6916, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.58 kB / 0.5584 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 76.18 MB / 0.6328 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04799/0.1635, allocations: 53.69 MB / 0.6852 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.1854, allocations: 17 MB / 0.7018 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.188, allocations: 91.5 kB / 0.7019 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005048/0.1931, allocations: 1.907 MB / 0.7037 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007053/0.2001, allocations: 2.522 MB / 0.7062 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005392/0.2055, allocations: 2.339 MB / 0.7085 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009504/0.215, allocations: 7.544 MB / 0.7159 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.2173, allocations: 1.666 MB / 0.7175 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.2209, allocations: 1.966 MB / 0.7194 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.2226, allocations: 1.435 MB / 0.7208 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.223, allocations: 176 kB / 0.721 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.2263, allocations: 2.016 MB / 0.7229 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.2269, allocations: 0.6696 MB / 0.7236 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.2281, allocations: 1.224 MB / 0.7248 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.2329, allocations: 3.918 MB / 0.7286 GB, free: 2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2329, allocations: 0 / 0.7286 GB, free: 2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2329, allocations: 0 / 0.7286 GB, free: 2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.5e-05/0.233, allocations: 4 kB / 0.7286 GB, free: 1.996 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.004695/0.2377, allocations: 2.944 MB / 0.7315 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2377, allocations: 12.02 kB / 0.7315 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.2403, allocations: 0.5588 MB / 0.732 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.2446, allocations: 2.731 MB / 0.7347 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.2447, allocations: 98.17 kB / 0.7348 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.2449, allocations: 116 kB / 0.7349 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.2474, allocations: 1.367 MB / 0.7363 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.2475, allocations: 0 / 0.7363 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.2476, allocations: 48 kB / 0.7363 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.2476, allocations: 42.08 kB / 0.7363 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.2502, allocations: 1.105 MB / 0.7374 GB, free: 8.715 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.008858/0.2591, allocations: 7.456 MB / 0.7447 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2548/0.5139, allocations: 1.328 MB / 0.746 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.5151, allocations: 427.7 kB / 0.7464 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005646/0.5207, allocations: 3.151 MB / 0.7495 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.5218, allocations: 431.1 kB / 0.7499 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 3.337e-06/0.5218, allocations: 1.094 kB / 0.7499 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.003303/0.5251, allocations: 1.247 MB / 0.7511 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.5252, allocations: 60.17 kB / 0.7512 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.5291, allocations: 2.124 MB / 0.7532 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.5293, allocations: 43.23 kB / 0.7533 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/0.53, allocations: 1.024 MB / 0.7543 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.5302, allocations: 220.7 kB / 0.7545 GB, free: 102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004796/0.5307, allocations: 311.3 kB / 0.7548 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.5307, allocations: 306.1 kB / 0.7551 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.5319, allocations: 0.5486 MB / 0.7556 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5332, allocations: 0.9911 MB / 0.7566 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.5353, allocations: 1.448 MB / 0.758 GB, free: 99.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.5354, allocations: 8.25 kB / 0.758 GB, free: 99.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003629/0.539, allocations: 1.762 MB / 0.7597 GB, free: 99.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.5391, allocations: 37.72 kB / 0.7598 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.5391, allocations: 16.38 kB / 0.7598 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.5391, allocations: 18.27 kB / 0.7598 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5402, allocations: 309.6 kB / 0.7601 GB, free: 99.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.5402, allocations: 30.73 kB / 0.7601 GB, free: 99.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.5415, allocations: 183.3 kB / 0.7603 GB, free: 98.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5417, allocations: 59.3 kB / 0.7604 GB, free: 98.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001791/0.5435, allocations: 0.9745 MB / 0.7613 GB, free: 98.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001393/0.5449, allocations: 0.9914 MB / 0.7623 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002096/0.547, allocations: 1.454 MB / 0.7637 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.634e-06/0.547, allocations: 3.125 kB / 0.7637 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.00307/0.5501, allocations: 1.764 MB / 0.7654 GB, free: 96.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5501, allocations: 47.95 kB / 0.7655 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5501, allocations: 11.28 kB / 0.7655 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5501, allocations: 18.78 kB / 0.7655 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5512, allocations: 308.5 kB / 0.7658 GB, free: 96.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.5512, allocations: 21.19 kB / 0.7658 GB, free: 96.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.5524, allocations: 157.6 kB / 0.766 GB, free: 96.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.5525, allocations: 63.55 kB / 0.766 GB, free: 96.12 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.0002724/0.5528, allocations: 260 kB / 0.7663 GB, free: 95.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.553, allocations: 201.7 kB / 0.7665 GB, free: 95.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.5555, allocations: 1.131 MB / 0.7676 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001734/0.5572, allocations: 0.956 MB / 0.7685 GB, free: 94.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5573, allocations: 0 / 0.7685 GB, free: 94.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.5577, allocations: 394.2 kB / 0.7689 GB, free: 94.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.5579, allocations: 15.67 kB / 0.7689 GB, free: 94.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/0.5588, allocations: 68.28 kB / 0.769 GB, free: 94.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.5589, allocations: 45.78 kB / 0.769 GB, free: 94.58 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002338/0.5612, allocations: 1.04 MB / 0.77 GB, free: 94.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002674/0.5639, allocations: 1.622 MB / 0.7716 GB, free: 93.44 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007631/0.5647, allocations: 415 kB / 0.772 GB, free: 93.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001452/0.5662, allocations: 1.416 MB / 0.7734 GB, free: 92.61 MB / 0.5762 GB Notification: Performance of Backend: time 6.91e-07/0.5662, allocations: 0 / 0.7734 GB, free: 92.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005239/0.5714, allocations: 2.768 MB / 0.7761 GB, free: 91.42 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005674/0.5771, allocations: 4.596 MB / 0.7806 GB, free: 87.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.05217/0.6293, allocations: 43.61 MB / 0.8232 GB, free: 44.55 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)