Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.3 kB / 17.09 MB, free: 5.957 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.001145/0.001145, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7729/0.7729, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 60.16 kB / 0.5738 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.126, allocations: 78.71 MB / 0.6506 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5359/0.6619, allocations: 300.4 MB / 0.944 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0638/0.7258, allocations: 50.05 MB / 0.9929 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009306/0.7351, allocations: 294.2 kB / 0.9931 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.7453, allocations: 3.529 MB / 0.9966 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02418/0.7695, allocations: 9.492 MB / 1.006 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01617/0.7857, allocations: 6.705 MB / 1.012 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02491/0.8107, allocations: 18.52 MB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.8207, allocations: 5.837 MB / 1.036 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01586/0.8366, allocations: 7.55 MB / 1.044 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008421/0.845, allocations: 5.084 MB / 1.049 GB, free: 5.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.847, allocations: 0.5664 MB / 1.049 GB, free: 5.301 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.8583, allocations: 4.391 MB / 1.053 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.3665/1.225, allocations: 1.497 MB / 1.055 GB, free: 54.3 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.009426/1.234, allocations: 3.737 MB / 1.058 GB, free: 54.3 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02467/1.259, allocations: 10.48 MB / 1.069 GB, free: 53.58 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.259, allocations: 3 kB / 1.069 GB, free: 53.58 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.074e-06/1.259, allocations: 0 / 1.069 GB, free: 53.58 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003794/1.259, allocations: 3.938 kB / 1.069 GB, free: 53.57 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.0202/1.28, allocations: 7.706 MB / 1.076 GB, free: 50.01 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.28, allocations: 7.844 kB / 1.076 GB, free: 50.01 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/1.284, allocations: 0.817 MB / 1.077 GB, free: 49.61 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/1.296, allocations: 5.415 MB / 1.082 GB, free: 48.47 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/1.297, allocations: 320.1 kB / 1.083 GB, free: 48.46 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.298, allocations: 430.9 kB / 1.083 GB, free: 48.46 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/1.308, allocations: 4.376 MB / 1.087 GB, free: 47.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/1.309, allocations: 22.91 kB / 1.087 GB, free: 47.66 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008509/1.309, allocations: 170.3 kB / 1.088 GB, free: 47.66 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.31, allocations: 124.8 kB / 1.088 GB, free: 47.65 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006035/1.316, allocations: 2.957 MB / 1.091 GB, free: 47.62 MB / 0.795 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.02658/1.342, allocations: 25.17 MB / 1.115 GB, free: 31.74 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/1.345, allocations: 2.76 MB / 1.118 GB, free: 30.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.346, allocations: 0.9966 MB / 1.119 GB, free: 30.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/1.348, allocations: 3.905 MB / 1.123 GB, free: 26.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/1.348, allocations: 66.59 kB / 1.123 GB, free: 26.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 5.34e-06/1.348, allocations: 4 kB / 1.123 GB, free: 26.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01021/1.359, allocations: 4.088 MB / 1.127 GB, free: 25.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/1.359, allocations: 77.19 kB / 1.127 GB, free: 25.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.366, allocations: 4.307 MB / 1.131 GB, free: 24.79 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004054/1.366, allocations: 81.27 kB / 1.131 GB, free: 24.76 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/1.368, allocations: 2.828 MB / 1.134 GB, free: 23.85 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007825/1.369, allocations: 0.7923 MB / 1.135 GB, free: 23.33 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009351/1.37, allocations: 0.5787 MB / 1.135 GB, free: 23.28 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.363e-05/1.37, allocations: 305.1 kB / 1.135 GB, free: 22.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.371, allocations: 0.8184 MB / 1.136 GB, free: 22.95 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.373, allocations: 1.819 MB / 1.138 GB, free: 21.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/1.376, allocations: 2.516 MB / 1.14 GB, free: 20.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/1.376, allocations: 5.906 kB / 1.14 GB, free: 20.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007541/1.384, allocations: 3.583 MB / 1.144 GB, free: 20.39 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.384, allocations: 15.22 kB / 1.144 GB, free: 20.39 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/1.384, allocations: 21.69 kB / 1.144 GB, free: 20.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/1.387, allocations: 0.5786 MB / 1.145 GB, free: 20.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.388, allocations: 0.5529 MB / 1.145 GB, free: 20.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/1.39, allocations: 2.689 MB / 1.148 GB, free: 18.24 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/1.394, allocations: 337.2 kB / 1.148 GB, free: 18.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.394, allocations: 136.9 kB / 1.148 GB, free: 18.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002964/1.397, allocations: 1.564 MB / 1.15 GB, free: 18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001804/1.399, allocations: 1.793 MB / 1.151 GB, free: 16.83 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00302/1.402, allocations: 2.467 MB / 1.154 GB, free: 15.95 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.657e-05/1.402, allocations: 9.422 kB / 1.154 GB, free: 15.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006374/1.408, allocations: 3.336 MB / 1.157 GB, free: 15.47 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.408, allocations: 18.94 kB / 1.157 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/1.408, allocations: 20.81 kB / 1.157 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009472/1.409, allocations: 375 kB / 1.157 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.411, allocations: 0.551 MB / 1.158 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/1.417, allocations: 8.462 MB / 1.166 GB, free: 9.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/1.422, allocations: 301.2 kB / 1.167 GB, free: 9.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003638/1.422, allocations: 136.2 kB / 1.167 GB, free: 9.023 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007596/1.423, allocations: 362.1 kB / 1.167 GB, free: 8.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001724/1.425, allocations: 0.5277 MB / 1.168 GB, free: 8.547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006127/1.431, allocations: 3.563 MB / 1.171 GB, free: 8.145 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003388/1.434, allocations: 2.441 MB / 1.173 GB, free: 7.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.434, allocations: 0 / 1.173 GB, free: 7.898 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.436, allocations: 0.9062 MB / 1.174 GB, free: 7.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/1.438, allocations: 50.12 kB / 1.174 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/1.441, allocations: 114.3 kB / 1.174 GB, free: 7.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/1.441, allocations: 187.8 kB / 1.175 GB, free: 7.477 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004898/1.446, allocations: 2.827 MB / 1.177 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005798/1.452, allocations: 4.126 MB / 1.181 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001277/1.453, allocations: 1.045 MB / 1.182 GB, free: 6.504 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004433/1.458, allocations: 2.847 MB / 1.185 GB, free: 6.324 MB / 0.795 GB Notification: Performance of Backend: time 3.51e-07/1.458, allocations: 0 / 1.185 GB, free: 6.324 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.468, allocations: 5.233 MB / 1.19 GB, free: 5.34 MB / 0.795 GB Notification: Performance of SimCode: time 0.01806/1.486, allocations: 11.63 MB / 1.202 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.1712/1.658, allocations: 109.5 MB / 1.309 GB, free: 1.984 MB / 0.9044 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)