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.001091/0.001091, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001549/0.00155, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.306/1.306, allocations: 222.9 MB / 241 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.7258/0.7258, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.77 kB / 0.5685 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.157, allocations: 77.94 MB / 0.6446 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6188/0.7758, allocations: 300.4 MB / 0.9379 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.07061/0.8464, allocations: 50.02 MB / 0.9868 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01395/0.8604, allocations: 298.2 kB / 0.9871 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.012/0.8725, allocations: 3.423 MB / 0.9904 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03384/0.9064, allocations: 9.045 MB / 0.9992 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01838/0.9248, allocations: 6.643 MB / 1.006 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0256/0.9504, allocations: 18.49 MB / 1.024 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.9608, allocations: 5.837 MB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02106/0.9819, allocations: 7.385 MB / 1.037 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5438/1.526, allocations: 5.087 MB / 1.042 GB, free: 46.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.003408/1.529, allocations: 0.567 MB / 1.042 GB, free: 46.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/1.544, allocations: 4.375 MB / 1.046 GB, free: 46.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003615/1.548, allocations: 1.501 MB / 1.048 GB, free: 46.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.01001/1.558, allocations: 3.74 MB / 1.052 GB, free: 46.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02325/1.581, allocations: 10.48 MB / 1.062 GB, free: 45.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.581, allocations: 0 / 1.062 GB, free: 45.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/1.581, allocations: 2.25 kB / 1.062 GB, free: 45.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003283/1.581, allocations: 0 / 1.062 GB, free: 45.74 MB / 0.7794 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.01713/1.598, allocations: 7.71 MB / 1.069 GB, free: 42.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/1.598, allocations: 9.219 kB / 1.069 GB, free: 42.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/1.601, allocations: 0.8169 MB / 1.07 GB, free: 41.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.615, allocations: 5.411 MB / 1.075 GB, free: 40.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003842/1.615, allocations: 324.5 kB / 1.076 GB, free: 40.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/1.616, allocations: 430.8 kB / 1.076 GB, free: 40.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008651/1.625, allocations: 4.385 MB / 1.08 GB, free: 39.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/1.625, allocations: 15.03 kB / 1.08 GB, free: 39.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/1.626, allocations: 170.6 kB / 1.081 GB, free: 39.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/1.626, allocations: 117.9 kB / 1.081 GB, free: 39.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005365/1.631, allocations: 2.965 MB / 1.084 GB, free: 39.76 MB / 0.7794 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.02637/1.657, allocations: 25.17 MB / 1.108 GB, free: 23.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/1.66, allocations: 2.76 MB / 1.111 GB, free: 22.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/1.662, allocations: 0.9946 MB / 1.112 GB, free: 22.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002138/1.664, allocations: 3.91 MB / 1.116 GB, free: 18.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.77e-05/1.664, allocations: 60.94 kB / 1.116 GB, free: 18.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=217): time 4.509e-06/1.664, allocations: 0 / 1.116 GB, free: 18.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=217): time 0.01051/1.674, allocations: 4.089 MB / 1.12 GB, free: 17.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.674, allocations: 79.91 kB / 1.12 GB, free: 17.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007006/1.681, allocations: 4.305 MB / 1.124 GB, free: 16.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.00065/1.682, allocations: 77.14 kB / 1.124 GB, free: 16.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.684, allocations: 2.826 MB / 1.127 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.685, allocations: 0.7957 MB / 1.128 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008151/1.686, allocations: 0.5701 MB / 1.128 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 5.253e-05/1.686, allocations: 301.1 kB / 1.129 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.687, allocations: 0.8228 MB / 1.129 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/1.689, allocations: 1.822 MB / 1.131 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/1.692, allocations: 2.516 MB / 1.134 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.692, allocations: 7.125 kB / 1.134 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007693/1.7, allocations: 3.584 MB / 1.137 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.7, allocations: 18.12 kB / 1.137 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.7, allocations: 20.62 kB / 1.137 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/1.703, allocations: 0.5764 MB / 1.138 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/1.704, allocations: 0.5571 MB / 1.138 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/1.706, allocations: 2.687 MB / 1.141 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/1.711, allocations: 337.9 kB / 1.141 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/1.711, allocations: 136.4 kB / 1.141 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00321/1.714, allocations: 1.57 MB / 1.143 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001797/1.716, allocations: 1.79 MB / 1.145 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002904/1.719, allocations: 2.464 MB / 1.147 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.22e-05/1.719, allocations: 7.312 kB / 1.147 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.0067/1.726, allocations: 3.34 MB / 1.15 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.726, allocations: 17.55 kB / 1.15 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.726, allocations: 27.19 kB / 1.15 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008387/1.727, allocations: 358 kB / 1.151 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.728, allocations: 0.556 MB / 1.151 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/1.735, allocations: 8.459 MB / 1.159 GB, free: 17.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/1.74, allocations: 307.9 kB / 1.16 GB, free: 17.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.741, allocations: 137.6 kB / 1.16 GB, free: 17.16 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.001685/1.743, allocations: 369.7 kB / 1.16 GB, free: 16.96 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002952/1.746, allocations: 0.5301 MB / 1.161 GB, free: 16.67 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/1.752, allocations: 3.56 MB / 1.164 GB, free: 16.28 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-05/1.752, allocations: 41.56 kB / 1.164 GB, free: 16.28 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.752, allocations: 0 / 1.164 GB, free: 16.28 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003163/1.755, allocations: 2.437 MB / 1.167 GB, free: 16.04 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 postOpt removeSimpleEquations (simulation): time 0.0158/1.771, allocations: 8.204 MB / 1.175 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.771, allocations: 6.938 kB / 1.175 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.772, allocations: 365.1 kB / 1.175 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007131/1.773, allocations: 294.3 kB / 1.175 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/1.773, allocations: 68.61 kB / 1.175 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/1.775, allocations: 2.494 MB / 1.178 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.775, allocations: 3.031 kB / 1.178 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008209/1.783, allocations: 4.368 MB / 1.182 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/1.787, allocations: 0.9046 MB / 1.183 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/1.789, allocations: 45.88 kB / 1.183 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004194/1.793, allocations: 123.8 kB / 1.183 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003706/1.793, allocations: 157 kB / 1.183 GB, free: 9.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004149/1.794, allocations: 107.9 kB / 1.183 GB, free: 9.855 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007294/1.801, allocations: 2.844 MB / 1.186 GB, free: 7.039 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.9e-07/1.801, allocations: 0 / 1.186 GB, free: 7.039 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01551/1.817, allocations: 3.273 MB / 1.189 GB, free: 3.758 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004723/1.821, allocations: 1.514 MB / 1.191 GB, free: 2.379 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.832, allocations: 4.428 MB / 1.195 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.832, allocations: 5.062 kB / 1.195 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/1.835, allocations: 1.239 MB / 1.196 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01812/1.853, allocations: 2.638 MB / 1.199 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/1.877, allocations: 9.192 MB / 1.208 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005874/1.883, allocations: 2.873 MB / 1.211 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006965/1.89, allocations: 1.153 MB / 1.212 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/1.892, allocations: 418.6 kB / 1.212 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of SimCode: time 1.453e-06/1.892, allocations: 0 / 1.212 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.1721/2.064, allocations: 105 MB / 1.315 GB, free: 5.438 MB / 0.92 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)