Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009237/0.0009239, allocations: 90.3 kB / 16.66 MB, free: 6.598 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.00105/0.00105, allocations: 175.6 kB / 17.57 MB, free: 6.184 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.338/1.338, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7474/0.7475, allocations: 115.5 MB / 408.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.392, allocations: 77.52 MB / 0.5606 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6312/1.023, allocations: 250.2 MB / 0.8049 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01455/1.038, allocations: 9.619 MB / 0.8143 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/1.041, allocations: 69.59 kB / 0.8144 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002452/1.043, allocations: 0.812 MB / 0.8152 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007427/1.051, allocations: 2.48 MB / 0.8176 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/1.056, allocations: 1.932 MB / 0.8195 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007008/1.063, allocations: 5.438 MB / 0.8248 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/1.066, allocations: 1.283 MB / 0.826 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/1.07, allocations: 1.672 MB / 0.8277 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003267/1.074, allocations: 1.23 MB / 0.8289 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002946/1.074, allocations: 63.34 kB / 0.8289 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006974/1.081, allocations: 3.488 MB / 0.8323 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008169/1.082, allocations: 485.2 kB / 0.8328 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/1.083, allocations: 0.9099 MB / 0.8337 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004373/1.088, allocations: 2.669 MB / 0.8363 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.088, allocations: 0.9375 kB / 0.8363 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.334e-06/1.088, allocations: 4 kB / 0.8363 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.302e-05/1.088, allocations: 0 / 0.8363 GB, free: 14.43 MB / 0.5919 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.004062/1.092, allocations: 2.127 MB / 0.8384 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.092, allocations: 11.75 kB / 0.8384 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/1.096, allocations: 0.6577 MB / 0.839 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/1.099, allocations: 1.377 MB / 0.8404 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/1.099, allocations: 154 kB / 0.8405 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/1.099, allocations: 121.5 kB / 0.8406 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/1.102, allocations: 1.438 MB / 0.842 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/1.102, allocations: 3.938 kB / 0.842 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.102, allocations: 47.59 kB / 0.8421 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/1.102, allocations: 44.47 kB / 0.8421 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/1.104, allocations: 1.22 MB / 0.8433 GB, free: 11.32 MB / 0.5919 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.008036/1.112, allocations: 5.725 MB / 0.8489 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/1.115, allocations: 1.061 MB / 0.8499 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.116, allocations: 0.5441 MB / 0.8505 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/1.116, allocations: 331 kB / 0.8508 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/1.117, allocations: 0.5848 MB / 0.8514 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.827e-06/1.117, allocations: 3.938 kB / 0.8514 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92): time 0.00867/1.126, allocations: 3.58 MB / 0.8549 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/1.126, allocations: 102.5 kB / 0.855 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/1.128, allocations: 1.343 MB / 0.8563 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/1.128, allocations: 41.7 kB / 0.8563 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/1.129, allocations: 0.7287 MB / 0.857 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/1.129, allocations: 313.7 kB / 0.8573 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.129, allocations: 89.66 kB / 0.8574 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.129, allocations: 345.9 kB / 0.8577 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.13, allocations: 461.8 kB / 0.8582 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.132, allocations: 0.6659 MB / 0.8588 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/1.146, allocations: 3.633 MB / 0.8624 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.146, allocations: 0 / 0.8624 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003574/1.149, allocations: 1.543 MB / 0.8639 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/1.149, allocations: 242.5 kB / 0.8641 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.149, allocations: 4 kB / 0.8641 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/1.15, allocations: 233 kB / 0.8643 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/1.151, allocations: 202 kB / 0.8645 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/1.155, allocations: 4.292 MB / 0.8687 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.157, allocations: 139.8 kB / 0.8689 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/1.157, allocations: 39.98 kB / 0.8689 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.157, allocations: 7.938 kB / 0.8689 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003071/1.16, allocations: 1.37 MB / 0.8702 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.16, allocations: 4.141 kB / 0.8702 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/1.161, allocations: 209 kB / 0.8704 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/1.162, allocations: 198.2 kB / 0.8706 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/1.167, allocations: 5.312 MB / 0.8758 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.169, allocations: 147.9 kB / 0.876 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.169, allocations: 42.09 kB / 0.876 GB, free: 13.59 MB / 0.6231 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 (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 (105): * Single equations (assignments): 99 * 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,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.17, allocations: 0.5029 MB / 0.8765 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/1.171, allocations: 170 kB / 0.8767 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/1.174, allocations: 1.309 MB / 0.8779 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.174, allocations: 8 kB / 0.8779 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.174, allocations: 0 / 0.8779 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002326/1.176, allocations: 1.175 MB / 0.8791 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006587/1.183, allocations: 3.081 MB / 0.8821 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.183, allocations: 4 kB / 0.8821 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.184, allocations: 187.6 kB / 0.8823 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/1.184, allocations: 55.22 kB / 0.8823 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.211e-05/1.184, allocations: 27.98 kB / 0.8824 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004802/1.185, allocations: 0.5899 MB / 0.8829 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.185, allocations: 6.625 kB / 0.8829 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.189, allocations: 2.017 MB / 0.8849 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.19, allocations: 351 kB / 0.8852 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006249/1.191, allocations: 24 kB / 0.8853 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.193, allocations: 111.8 kB / 0.8854 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.193, allocations: 67.05 kB / 0.8854 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.193, allocations: 39.97 kB / 0.8855 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002051/1.195, allocations: 0.9099 MB / 0.8864 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/1.195, allocations: 0 / 0.8864 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003192/1.198, allocations: 0.6952 MB / 0.887 GB, free: 2.059 MB / 0.6231 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 (83): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008377/1.199, allocations: 309.9 kB / 0.8873 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004925/1.204, allocations: 2.558 MB / 0.8898 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.204, allocations: 4 kB / 0.8898 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/1.205, allocations: 0.619 MB / 0.8904 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005596/1.211, allocations: 0.8244 MB / 0.8913 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/1.219, allocations: 3.994 MB / 0.8952 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.22, allocations: 1.333 MB / 0.8965 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/1.221, allocations: 123.4 kB / 0.8966 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/1.221, allocations: 0 / 0.8966 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of Templates: time 0.05404/1.275, allocations: 39.99 MB / 0.9356 GB, free: 376 kB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)