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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5352/0.5352, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 110.1 kB / 420 MB, free: 8.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 55.92 kB / 0.4891 GB, free: 7.668 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3331, allocations: 70.06 MB / 0.5575 GB, free: 44.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5757/0.9089, allocations: 298.3 MB / 0.8488 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.07367/0.9827, allocations: 50.15 MB / 0.8977 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0135/0.9962, allocations: 282.2 kB / 0.898 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0129/1.009, allocations: 2.79 MB / 0.9007 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.03194/1.041, allocations: 8.416 MB / 0.9089 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01925/1.06, allocations: 5.991 MB / 0.9148 GB, free: 6.387 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0345/1.095, allocations: 24.69 MB / 0.9389 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/1.108, allocations: 4.875 MB / 0.9437 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0205/1.128, allocations: 6.436 MB / 0.95 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4416/1.57, allocations: 5.116 MB / 0.955 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003041/1.573, allocations: 303.6 kB / 0.9552 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/1.587, allocations: 3.98 MB / 0.9591 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003599/1.59, allocations: 1.241 MB / 0.9603 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01105/1.601, allocations: 3.447 MB / 0.9637 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02281/1.624, allocations: 10.14 MB / 0.9736 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.624, allocations: 8.094 kB / 0.9736 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.512e-06/1.624, allocations: 0 / 0.9736 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005631/1.625, allocations: 0 / 0.9736 GB, free: 18.37 MB / 0.6355 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.02347/1.648, allocations: 7.479 MB / 0.9809 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.648, allocations: 8.219 kB / 0.9809 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/1.653, allocations: 0.7802 MB / 0.9817 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/1.668, allocations: 5.215 MB / 0.9868 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/1.668, allocations: 323.5 kB / 0.9871 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/1.67, allocations: 427.6 kB / 0.9875 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/1.683, allocations: 4.377 MB / 0.9918 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/1.684, allocations: 17.39 kB / 0.9918 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001477/1.685, allocations: 179.7 kB / 0.992 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/1.685, allocations: 118.9 kB / 0.9921 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009279/1.695, allocations: 2.962 MB / 0.995 GB, free: 12.68 MB / 0.6355 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.04549/1.74, allocations: 25 MB / 1.019 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004272/1.745, allocations: 2.768 MB / 1.022 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.747, allocations: 0.9951 MB / 1.023 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003588/1.75, allocations: 3.905 MB / 1.027 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.283e-05/1.75, allocations: 66.2 kB / 1.027 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=217): time 8.236e-06/1.75, allocations: 0 / 1.027 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of matching and sorting (n=217): time 0.01347/1.764, allocations: 4.063 MB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/1.764, allocations: 78.16 kB / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.774, allocations: 4.237 MB / 1.035 GB, free: 21.89 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0007375/1.775, allocations: 79.7 kB / 1.035 GB, free: 21.86 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/1.778, allocations: 2.79 MB / 1.038 GB, free: 20.99 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/1.779, allocations: 0.7659 MB / 1.039 GB, free: 20.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/1.781, allocations: 0.569 MB / 1.039 GB, free: 20.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.781, allocations: 304.9 kB / 1.04 GB, free: 20.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/1.783, allocations: 0.8255 MB / 1.04 GB, free: 20.13 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/1.786, allocations: 1.812 MB / 1.042 GB, free: 18.97 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004324/1.79, allocations: 2.521 MB / 1.045 GB, free: 18.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/1.79, allocations: 4.938 kB / 1.045 GB, free: 18.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009148/1.799, allocations: 3.562 MB / 1.048 GB, free: 17.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/1.799, allocations: 15.5 kB / 1.048 GB, free: 17.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/1.799, allocations: 24.69 kB / 1.048 GB, free: 17.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/1.802, allocations: 0.5858 MB / 1.049 GB, free: 17.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.804, allocations: 0.5511 MB / 1.049 GB, free: 17.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.806, allocations: 2.693 MB / 1.052 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005567/1.812, allocations: 0.5929 MB / 1.052 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000557/1.812, allocations: 133.8 kB / 1.053 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003767/1.816, allocations: 1.567 MB / 1.054 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002251/1.819, allocations: 1.799 MB / 1.056 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003457/1.822, allocations: 2.462 MB / 1.058 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.202e-05/1.822, allocations: 7.344 kB / 1.058 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007331/1.829, allocations: 3.304 MB / 1.061 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.829, allocations: 19.16 kB / 1.061 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/1.829, allocations: 27.44 kB / 1.061 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000958/1.83, allocations: 368 kB / 1.062 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.832, allocations: 0.5559 MB / 1.062 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008571/1.841, allocations: 7.69 MB / 1.07 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005643/1.846, allocations: 0.5669 MB / 1.07 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005035/1.847, allocations: 131.7 kB / 1.071 GB, free: 6.812 MB / 0.6667 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.001003/1.848, allocations: 364.4 kB / 1.071 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/1.85, allocations: 0.5056 MB / 1.071 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/1.857, allocations: 3.583 MB / 1.075 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/1.857, allocations: 33.75 kB / 1.075 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.857, allocations: 3.938 kB / 1.075 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003583/1.86, allocations: 2.436 MB / 1.077 GB, free: 5.695 MB / 0.6667 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.01725/1.878, allocations: 8.215 MB / 1.085 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.878, allocations: 4 kB / 1.085 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.879, allocations: 358.8 kB / 1.086 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007532/1.88, allocations: 313.1 kB / 1.086 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.88, allocations: 61.91 kB / 1.086 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.882, allocations: 2.494 MB / 1.088 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.882, allocations: 3.281 kB / 1.088 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05033/1.932, allocations: 25.34 MB / 1.113 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003842/1.936, allocations: 0.8766 MB / 1.114 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001983/1.938, allocations: 43.28 kB / 1.114 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004959/1.943, allocations: 423.5 kB / 1.115 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/1.944, allocations: 153 kB / 1.115 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000406/1.944, allocations: 111.9 kB / 1.115 GB, free: 6.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006416/1.951, allocations: 2.801 MB / 1.118 GB, free: 4.137 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.951, allocations: 0 / 1.118 GB, free: 4.137 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.03322/1.984, allocations: 4.984 MB / 1.122 GB, free: 15.14 MB / 0.7136 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.004125/1.988, allocations: 1.465 MB / 1.124 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009172/1.997, allocations: 4.425 MB / 1.128 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.997, allocations: 0 / 1.128 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/2, allocations: 1.235 MB / 1.129 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01784/2.018, allocations: 2.64 MB / 1.132 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/2.04, allocations: 13.35 MB / 1.145 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004052/2.044, allocations: 2.982 MB / 1.148 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00593/2.05, allocations: 1.184 MB / 1.149 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/2.052, allocations: 428.9 kB / 1.149 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/2.052, allocations: 0 / 1.149 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of Templates: time 0.4846/2.536, allocations: 110.7 MB / 1.258 GB, free: 374.2 MB / 0.8073 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)