Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.595/1.595, allocations: 287.5 MB / 302.6 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 184.4 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009001/0.0009, allocations: 103.4 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 12.56 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.23, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.7053/0.9354, allocations: 233.4 MB / 1.207 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01763/0.9531, allocations: 8.974 MB / 1.215 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/0.9571, allocations: 65.91 kB / 1.215 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003145/0.9603, allocations: 0.6342 MB / 1.216 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.9681, allocations: 1.933 MB / 1.218 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006336/0.9745, allocations: 1.531 MB / 1.219 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006795/0.9813, allocations: 4.682 MB / 1.224 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/0.9842, allocations: 1.268 MB / 1.225 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004744/0.989, allocations: 1.568 MB / 1.227 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.9918, allocations: 1.163 MB / 1.228 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006425/0.9925, allocations: 63.94 kB / 1.228 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006057/0.9986, allocations: 1.886 MB / 1.23 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.9999, allocations: 474.2 kB / 1.23 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/1.001, allocations: 396.7 kB / 1.231 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004875/1.006, allocations: 2.521 MB / 1.233 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.006, allocations: 0 / 1.233 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.024e-06/1.006, allocations: 4 kB / 1.233 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001191/1.006, allocations: 4 kB / 1.233 GB, free: 7.32 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005004/1.011, allocations: 2.128 MB / 1.235 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.011, allocations: 8.031 kB / 1.235 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/1.015, allocations: 0.6532 MB / 1.236 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/1.018, allocations: 1.371 MB / 1.237 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/1.019, allocations: 162 kB / 1.237 GB, free: 2.867 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/1.019, allocations: 127.9 kB / 1.237 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/1.022, allocations: 1.435 MB / 1.239 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/1.022, allocations: 4 kB / 1.239 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.022, allocations: 44 kB / 1.239 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/1.022, allocations: 46.22 kB / 1.239 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/1.025, allocations: 1.211 MB / 1.24 GB, free: 15.93 MB / 0.7761 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.008983/1.034, allocations: 5.709 MB / 1.246 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/1.036, allocations: 1.052 MB / 1.247 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/1.037, allocations: 0.5331 MB / 1.247 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/1.038, allocations: 335.8 kB / 1.248 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/1.039, allocations: 0.5735 MB / 1.248 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.116e-06/1.039, allocations: 0 / 1.248 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=93): time 0.008844/1.048, allocations: 3.636 MB / 1.252 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.048, allocations: 94.05 kB / 1.252 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/1.05, allocations: 1.334 MB / 1.253 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-05/1.05, allocations: 49.69 kB / 1.253 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/1.051, allocations: 0.7212 MB / 1.254 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/1.051, allocations: 323.4 kB / 1.254 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/1.051, allocations: 16 kB / 1.254 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.051, allocations: 349.9 kB / 1.254 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000998/1.052, allocations: 458.1 kB / 1.255 GB, free: 180 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/1.053, allocations: 0.6785 MB / 1.256 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.066, allocations: 3.642 MB / 1.259 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.066, allocations: 0 / 1.259 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003416/1.07, allocations: 1.57 MB / 1.261 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.07, allocations: 240 kB / 1.261 GB, free: 9.785 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.07, allocations: 4 kB / 1.261 GB, free: 9.781 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007511/1.071, allocations: 238.4 kB / 1.261 GB, free: 9.539 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/1.072, allocations: 211.6 kB / 1.261 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/1.076, allocations: 4.492 MB / 1.266 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.078, allocations: 143.8 kB / 1.266 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.078, allocations: 36 kB / 1.266 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.078, allocations: 7.984 kB / 1.266 GB, free: 4.371 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002879/1.081, allocations: 1.398 MB / 1.267 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.081, allocations: 4 kB / 1.267 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/1.081, allocations: 210.8 kB / 1.267 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/1.082, allocations: 207.7 kB / 1.268 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/1.087, allocations: 5.5 MB / 1.273 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.089, allocations: 147.9 kB / 1.273 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.089, allocations: 43.98 kB / 1.273 GB, free: 12.43 MB / 0.8073 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009793/1.09, allocations: 0.4999 MB / 1.274 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/1.091, allocations: 174.1 kB / 1.274 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/1.093, allocations: 1.321 MB / 1.275 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.093, allocations: 16 kB / 1.275 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/1.094, allocations: 0 / 1.275 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002205/1.096, allocations: 1.178 MB / 1.276 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005801/1.102, allocations: 3.119 MB / 1.279 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.102, allocations: 4 kB / 1.279 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009585/1.103, allocations: 196.1 kB / 1.28 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/1.103, allocations: 48.83 kB / 1.28 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/1.103, allocations: 27.98 kB / 1.28 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003843/1.103, allocations: 0.603 MB / 1.28 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.103, allocations: 4 kB / 1.28 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/1.107, allocations: 2.025 MB / 1.282 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/1.108, allocations: 343 kB / 1.283 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/1.108, allocations: 28 kB / 1.283 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.109, allocations: 108.8 kB / 1.283 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.109, allocations: 72.45 kB / 1.283 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/1.109, allocations: 39.97 kB / 1.283 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001528/1.111, allocations: 0.9019 MB / 1.284 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.31e-07/1.111, allocations: 0 / 1.284 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002627/1.114, allocations: 0.6952 MB / 1.284 GB, free: 0.7188 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007451/1.114, allocations: 297.9 kB / 1.285 GB, free: 436 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0047/1.119, allocations: 2.598 MB / 1.287 GB, free: 13.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.119, allocations: 0 / 1.287 GB, free: 13.73 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.12, allocations: 0.6208 MB / 1.288 GB, free: 13.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/1.125, allocations: 0.8267 MB / 1.289 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/1.132, allocations: 3.862 MB / 1.292 GB, free: 8.344 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.134, allocations: 1.345 MB / 1.294 GB, free: 6.969 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001799/1.135, allocations: 348.9 kB / 1.294 GB, free: 6.621 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/1.136, allocations: 111.4 kB / 1.294 GB, free: 6.512 MB / 0.823 GB Notification: Performance of SimCode: time 1.062e-06/1.136, allocations: 0 / 1.294 GB, free: 6.512 MB / 0.823 GB Notification: Performance of Templates: time 0.05078/1.187, allocations: 30.91 MB / 1.324 GB, free: 7.875 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)