Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001195/0.001195, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 79.03 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2393, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6678/0.9072, allocations: 255.8 MB / 1.035 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.9269, allocations: 9.511 MB / 1.044 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003595/0.9305, allocations: 75.56 kB / 1.044 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.9336, allocations: 0.9668 MB / 1.045 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006554/0.9402, allocations: 2.641 MB / 1.047 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005175/0.9454, allocations: 2.164 MB / 1.05 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0055/0.9509, allocations: 4.14 MB / 1.054 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.9532, allocations: 1.574 MB / 1.055 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.9573, allocations: 1.977 MB / 1.057 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.9599, allocations: 1.289 MB / 1.058 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.9603, allocations: 187.9 kB / 1.059 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006082/0.9664, allocations: 3.141 MB / 1.062 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000805/0.9672, allocations: 0.5958 MB / 1.062 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.9687, allocations: 1.03 MB / 1.063 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006425/0.9751, allocations: 3.693 MB / 1.067 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9752, allocations: 0 / 1.067 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9752, allocations: 0 / 1.067 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.733e-05/0.9752, allocations: 0 / 1.067 GB, free: 8.879 MB / 0.8575 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.00427/0.9795, allocations: 2.474 MB / 1.069 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.9796, allocations: 8.031 kB / 1.069 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003832/0.9834, allocations: 0.6337 MB / 1.07 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.9862, allocations: 1.43 MB / 1.071 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-05/0.9863, allocations: 98.22 kB / 1.071 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.9865, allocations: 123.9 kB / 1.071 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.9892, allocations: 1.416 MB / 1.073 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.9893, allocations: 7.984 kB / 1.073 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.9894, allocations: 44 kB / 1.073 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.9895, allocations: 50.16 kB / 1.073 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.992, allocations: 1.188 MB / 1.074 GB, free: 1.199 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 preOpt removeSimpleEquations (simulation): time 0.008195/1, allocations: 5.683 MB / 1.08 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/1.002, allocations: 1.023 MB / 1.081 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009981/1.003, allocations: 0.5253 MB / 1.081 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/1.004, allocations: 319.9 kB / 1.081 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/1.005, allocations: 0.5621 MB / 1.082 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/1.005, allocations: 0 / 1.082 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93): time 0.008477/1.013, allocations: 3.579 MB / 1.086 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.013, allocations: 90.11 kB / 1.086 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/1.015, allocations: 1.342 MB / 1.087 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.015, allocations: 49.7 kB / 1.087 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/1.016, allocations: 0.7251 MB / 1.088 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/1.016, allocations: 311.4 kB / 1.088 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/1.017, allocations: 206.4 kB / 1.088 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.017, allocations: 341.9 kB / 1.088 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009977/1.018, allocations: 456.9 kB / 1.089 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.019, allocations: 0.6824 MB / 1.09 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/1.033, allocations: 3.329 MB / 1.093 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.033, allocations: 4 kB / 1.093 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003518/1.036, allocations: 1.549 MB / 1.094 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/1.036, allocations: 43.34 kB / 1.094 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.037, allocations: 4 kB / 1.094 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/1.037, allocations: 251.7 kB / 1.095 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/1.038, allocations: 187.8 kB / 1.095 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/1.043, allocations: 4.814 MB / 1.1 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.045, allocations: 72 kB / 1.1 GB, free: 6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/1.045, allocations: 45.16 kB / 1.1 GB, free: 5.957 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001603/1.046, allocations: 0.7686 MB / 1.1 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001184/1.048, allocations: 0.6715 MB / 1.101 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01355/1.061, allocations: 3.306 MB / 1.104 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.551e-06/1.061, allocations: 0 / 1.104 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003427/1.065, allocations: 1.527 MB / 1.106 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/1.065, allocations: 41.62 kB / 1.106 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.065, allocations: 4 kB / 1.106 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/1.065, allocations: 218.4 kB / 1.106 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/1.066, allocations: 195 kB / 1.106 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/1.072, allocations: 5.997 MB / 1.112 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.073, allocations: 78.52 kB / 1.112 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/1.074, allocations: 39.98 kB / 1.112 GB, free: 8.484 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $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 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003727/1.074, allocations: 282.8 kB / 1.112 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/1.074, allocations: 162 kB / 1.113 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/1.077, allocations: 1.291 MB / 1.114 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/1.079, allocations: 1.163 MB / 1.115 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.079, allocations: 0 / 1.115 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006814/1.08, allocations: 343 kB / 1.115 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.08, allocations: 27.94 kB / 1.115 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/1.081, allocations: 55.95 kB / 1.115 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.081, allocations: 60.84 kB / 1.115 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003234/1.085, allocations: 1.38 MB / 1.117 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003579/1.088, allocations: 1.977 MB / 1.119 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001034/1.089, allocations: 0.527 MB / 1.119 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001294/1.091, allocations: 0.9215 MB / 1.12 GB, free: 180 kB / 0.9044 GB Notification: Performance of Backend: time 1.623e-06/1.091, allocations: 4.047 kB / 1.12 GB, free: 176 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00576/1.096, allocations: 2.852 MB / 1.123 GB, free: 13.25 MB / 0.92 GB Notification: Performance of SimCode: time 0.006379/1.103, allocations: 3.864 MB / 1.127 GB, free: 9.398 MB / 0.92 GB Notification: Performance of Templates: time 0.3937/1.496, allocations: 42.81 MB / 1.169 GB, free: 299.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)