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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 114.9 kB / 17.81 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 187.8 kB / 20.74 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.1 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8561/0.8561, allocations: 128.4 MB / 432.4 MB, free: 13.1 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.84 kB / 0.5988 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4524, allocations: 83.26 MB / 0.6801 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7382/1.191, allocations: 303.1 MB / 0.9761 GB, free: 34.67 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0626/1.253, allocations: 50.11 MB / 1.025 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01517/1.268, allocations: 298.2 kB / 1.025 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01222/1.281, allocations: 3.56 MB / 1.029 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02968/1.31, allocations: 9.443 MB / 1.038 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01886/1.329, allocations: 6.72 MB / 1.045 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.03141/1.36, allocations: 18.45 MB / 1.063 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01092/1.371, allocations: 4.855 MB / 1.067 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02276/1.394, allocations: 7.964 MB / 1.075 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.012/1.406, allocations: 5.221 MB / 1.08 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.003191/1.409, allocations: 0.5664 MB / 1.081 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/1.426, allocations: 4.465 MB / 1.085 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.004066/1.43, allocations: 1.583 MB / 1.087 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01032/1.44, allocations: 3.752 MB / 1.09 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02734/1.467, allocations: 10.49 MB / 1.101 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.467, allocations: 0 / 1.101 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.833e-06/1.467, allocations: 0 / 1.101 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0004106/1.468, allocations: 0 / 1.101 GB, free: 3.41 MB / 0.7637 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.488, allocations: 7.716 MB / 1.108 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/1.488, allocations: 12.03 kB / 1.108 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/1.492, allocations: 0.8117 MB / 1.109 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.505, allocations: 5.417 MB / 1.114 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/1.505, allocations: 316.1 kB / 1.115 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/1.506, allocations: 432 kB / 1.115 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009661/1.516, allocations: 4.385 MB / 1.119 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-05/1.516, allocations: 23.83 kB / 1.119 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00043/1.517, allocations: 172 kB / 1.119 GB, free: 15.63 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/1.517, allocations: 116 kB / 1.12 GB, free: 15.52 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006356/1.523, allocations: 2.965 MB / 1.122 GB, free: 12.55 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.03723/1.56, allocations: 25.32 MB / 1.147 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/1.564, allocations: 2.606 MB / 1.15 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/1.565, allocations: 0.886 MB / 1.151 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003726/1.569, allocations: 3.908 MB / 1.154 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.69e-05/1.569, allocations: 60.56 kB / 1.154 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=217): time 4.799e-06/1.569, allocations: 0 / 1.154 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=217): time 0.01166/1.581, allocations: 4.075 MB / 1.158 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.581, allocations: 77.39 kB / 1.158 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007978/1.589, allocations: 4.303 MB / 1.163 GB, free: 88 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.00056/1.59, allocations: 77.7 kB / 1.163 GB, free: 4 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002849/1.592, allocations: 2.823 MB / 1.166 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.594, allocations: 0.7978 MB / 1.166 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009857/1.595, allocations: 0.5805 MB / 1.167 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.595, allocations: 305.1 kB / 1.167 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.596, allocations: 0.8231 MB / 1.168 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/1.599, allocations: 1.818 MB / 1.17 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/1.603, allocations: 2.513 MB / 1.172 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.603, allocations: 8 kB / 1.172 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008986/1.612, allocations: 3.566 MB / 1.176 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.612, allocations: 12 kB / 1.176 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.121e-05/1.612, allocations: 24 kB / 1.176 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/1.615, allocations: 0.5847 MB / 1.176 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.617, allocations: 0.5577 MB / 1.177 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/1.62, allocations: 2.692 MB / 1.179 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/1.624, allocations: 329.8 kB / 1.18 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/1.625, allocations: 144 kB / 1.18 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003625/1.628, allocations: 1.564 MB / 1.181 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002575/1.631, allocations: 1.791 MB / 1.183 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00408/1.635, allocations: 2.459 MB / 1.186 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.621e-05/1.635, allocations: 11.98 kB / 1.186 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007766/1.643, allocations: 3.316 MB / 1.189 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.643, allocations: 16 kB / 1.189 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/1.643, allocations: 20 kB / 1.189 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.644, allocations: 363.6 kB / 1.189 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.646, allocations: 0.5616 MB / 1.19 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4125/2.058, allocations: 8.455 MB / 1.198 GB, free: 335.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/2.063, allocations: 302.9 kB / 1.198 GB, free: 335.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000586/2.064, allocations: 133.8 kB / 1.198 GB, free: 335.9 MB / 0.8575 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.0007227/2.064, allocations: 367 kB / 1.199 GB, free: 335.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/2.066, allocations: 0.5332 MB / 1.199 GB, free: 335.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007256/2.073, allocations: 3.549 MB / 1.203 GB, free: 334.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-05/2.074, allocations: 36.38 kB / 1.203 GB, free: 334.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/2.074, allocations: 0 / 1.203 GB, free: 334.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004731/2.078, allocations: 2.421 MB / 1.205 GB, free: 333.9 MB / 0.8575 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.01463/2.093, allocations: 8.2 MB / 1.213 GB, free: 330 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/2.093, allocations: 1.281 kB / 1.213 GB, free: 330 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/2.094, allocations: 359.5 kB / 1.214 GB, free: 330 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007115/2.095, allocations: 313.6 kB / 1.214 GB, free: 329.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/2.095, allocations: 66.56 kB / 1.214 GB, free: 329.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/2.097, allocations: 2.487 MB / 1.216 GB, free: 327.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.097, allocations: 14.86 kB / 1.216 GB, free: 327.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007684/2.104, allocations: 4.34 MB / 1.221 GB, free: 325.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/2.107, allocations: 0.9052 MB / 1.221 GB, free: 325.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/2.108, allocations: 43.56 kB / 1.221 GB, free: 325.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/2.111, allocations: 125.6 kB / 1.222 GB, free: 325.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/2.111, allocations: 159.7 kB / 1.222 GB, free: 325.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/2.111, allocations: 108.2 kB / 1.222 GB, free: 325.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.005179/2.116, allocations: 2.849 MB / 1.225 GB, free: 324.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/2.116, allocations: 0 / 1.225 GB, free: 324.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01033/2.127, allocations: 3.28 MB / 1.228 GB, free: 323.6 MB / 0.8575 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.002875/2.129, allocations: 1.524 MB / 1.229 GB, free: 323.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007158/2.137, allocations: 4.154 MB / 1.233 GB, free: 321.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/2.137, allocations: 3.906 kB / 1.233 GB, free: 321.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/2.139, allocations: 1.112 MB / 1.234 GB, free: 320.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01345/2.152, allocations: 2.612 MB / 1.237 GB, free: 319.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/2.167, allocations: 9.291 MB / 1.246 GB, free: 314.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/2.169, allocations: 2.854 MB / 1.249 GB, free: 312.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/2.17, allocations: 436.8 kB / 1.249 GB, free: 312.6 MB / 0.8575 GB Notification: Performance of SimCode: time 1.353e-06/2.17, allocations: 4 kB / 1.249 GB, free: 312.6 MB / 0.8575 GB Notification: Performance of Templates: time 0.1666/2.337, allocations: 192.8 MB / 1.438 GB, free: 121.9 MB / 0.8575 GB " [Timeout remaining time 658] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.509343319106847] Failed to read output from testmodel.py, exit status != 0: 2.347316488157958 2.356242001 0.886217611 Calling exit ...