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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 105.2 kB / 16.52 MB, free: 6.27 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.001352/0.001352, allocations: 193.4 kB / 17.44 MB, free: 5.887 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 64.12 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3887, allocations: 76.16 MB / 0.5564 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6059/0.9947, allocations: 298.2 MB / 0.8476 GB, free: 42.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06014/1.055, allocations: 50.22 MB / 0.8967 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01332/1.068, allocations: 282.2 kB / 0.8969 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/1.08, allocations: 2.793 MB / 0.8997 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02693/1.107, allocations: 8.409 MB / 0.9079 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01807/1.125, allocations: 6.003 MB / 0.9137 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03082/1.156, allocations: 24.58 MB / 0.9377 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009733/1.166, allocations: 4.852 MB / 0.9425 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01669/1.182, allocations: 6.354 MB / 0.9487 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/1.193, allocations: 5.113 MB / 0.9537 GB, free: 400 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002585/1.195, allocations: 304 kB / 0.954 GB, free: 96 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/1.209, allocations: 3.975 MB / 0.9578 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003122/1.212, allocations: 1.24 MB / 0.9591 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00844/1.22, allocations: 3.447 MB / 0.9624 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01278/1.233, allocations: 7.874 MB / 0.9701 GB, free: 15.51 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.233, allocations: 0 / 0.9701 GB, free: 15.51 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.913e-06/1.233, allocations: 0 / 0.9701 GB, free: 15.51 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002925/1.234, allocations: 4 kB / 0.9701 GB, free: 15.5 MB / 0.67 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.01541/1.249, allocations: 7.478 MB / 0.9774 GB, free: 7.887 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.249, allocations: 11.97 kB / 0.9774 GB, free: 7.875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/1.252, allocations: 0.7842 MB / 0.9782 GB, free: 7.082 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/1.262, allocations: 5.218 MB / 0.9833 GB, free: 1.789 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/1.262, allocations: 324.1 kB / 0.9836 GB, free: 1.469 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006229/1.262, allocations: 431.9 kB / 0.984 GB, free: 1.047 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007684/1.27, allocations: 4.377 MB / 0.9883 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.775e-05/1.27, allocations: 15.78 kB / 0.9883 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/1.271, allocations: 184 kB / 0.9885 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/1.271, allocations: 116 kB / 0.9886 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005341/1.276, allocations: 2.965 MB / 0.9915 GB, free: 9.109 MB / 0.6856 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.3473/1.624, allocations: 25.01 MB / 1.016 GB, free: 277.3 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/1.627, allocations: 2.763 MB / 1.019 GB, free: 276.1 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/1.629, allocations: 0.9994 MB / 1.02 GB, free: 275.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002281/1.631, allocations: 3.905 MB / 1.023 GB, free: 271.4 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/1.631, allocations: 61.61 kB / 1.023 GB, free: 271.4 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=217): time 4.579e-06/1.631, allocations: 1.719 kB / 1.023 GB, free: 271.4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=217): time 0.01099/1.642, allocations: 4.07 MB / 1.027 GB, free: 270 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.642, allocations: 73.34 kB / 1.027 GB, free: 269.9 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008493/1.651, allocations: 4.23 MB / 1.032 GB, free: 268.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006006/1.651, allocations: 81.81 kB / 1.032 GB, free: 268.4 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.654, allocations: 2.8 MB / 1.034 GB, free: 266.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009946/1.655, allocations: 0.7586 MB / 1.035 GB, free: 266.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009446/1.656, allocations: 0.5698 MB / 1.036 GB, free: 266 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7e-05/1.656, allocations: 301.8 kB / 1.036 GB, free: 265.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/1.657, allocations: 0.8224 MB / 1.037 GB, free: 265.4 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/1.66, allocations: 1.816 MB / 1.039 GB, free: 263.9 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/1.663, allocations: 2.516 MB / 1.041 GB, free: 262.2 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/1.663, allocations: 6.156 kB / 1.041 GB, free: 262.2 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008988/1.672, allocations: 3.559 MB / 1.045 GB, free: 260.7 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.672, allocations: 14.56 kB / 1.045 GB, free: 260.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.626e-05/1.672, allocations: 28.69 kB / 1.045 GB, free: 260.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/1.675, allocations: 0.5804 MB / 1.045 GB, free: 260.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/1.677, allocations: 0.5523 MB / 1.046 GB, free: 260.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.68, allocations: 2.69 MB / 1.048 GB, free: 258.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00638/1.686, allocations: 0.6023 MB / 1.049 GB, free: 258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008754/1.687, allocations: 132.5 kB / 1.049 GB, free: 257.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00499/1.692, allocations: 1.568 MB / 1.051 GB, free: 257.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002969/1.695, allocations: 1.793 MB / 1.052 GB, free: 255.7 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003938/1.699, allocations: 2.462 MB / 1.055 GB, free: 254 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.413e-05/1.699, allocations: 6.75 kB / 1.055 GB, free: 254 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.00761/1.707, allocations: 3.315 MB / 1.058 GB, free: 252.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.707, allocations: 12.39 kB / 1.058 GB, free: 252.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/1.707, allocations: 23.75 kB / 1.058 GB, free: 252.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009457/1.708, allocations: 366.2 kB / 1.058 GB, free: 252.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/1.709, allocations: 0.5583 MB / 1.059 GB, free: 252.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007106/1.717, allocations: 7.693 MB / 1.066 GB, free: 245.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005548/1.722, allocations: 0.575 MB / 1.067 GB, free: 245.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006668/1.723, allocations: 133.9 kB / 1.067 GB, free: 245.5 MB / 0.7012 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.001219/1.724, allocations: 368.5 kB / 1.067 GB, free: 245.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002145/1.726, allocations: 0.4989 MB / 1.068 GB, free: 245 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006138/1.732, allocations: 3.572 MB / 1.071 GB, free: 243.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-05/1.733, allocations: 33.23 kB / 1.071 GB, free: 243.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.733, allocations: 3.969 kB / 1.071 GB, free: 243.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003445/1.736, allocations: 2.433 MB / 1.074 GB, free: 242.5 MB / 0.7012 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.0148/1.751, allocations: 8.21 MB / 1.082 GB, free: 237.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.751, allocations: 3.344 kB / 1.082 GB, free: 237.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.752, allocations: 372.2 kB / 1.082 GB, free: 237.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006514/1.753, allocations: 301.7 kB / 1.082 GB, free: 237.6 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.753, allocations: 61.31 kB / 1.083 GB, free: 237.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/1.754, allocations: 2.497 MB / 1.085 GB, free: 235.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.754, allocations: 0 / 1.085 GB, free: 235.2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007035/1.761, allocations: 4.333 MB / 1.089 GB, free: 232 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.764, allocations: 0.8737 MB / 1.09 GB, free: 231.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.765, allocations: 51.98 kB / 1.09 GB, free: 231.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003807/1.769, allocations: 421 kB / 1.091 GB, free: 230.7 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/1.769, allocations: 159 kB / 1.091 GB, free: 230.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.77, allocations: 103.9 kB / 1.091 GB, free: 230.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00446/1.774, allocations: 2.8 MB / 1.094 GB, free: 227.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.11e-07/1.774, allocations: 0 / 1.094 GB, free: 227.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0123/1.786, allocations: 3.274 MB / 1.097 GB, free: 224.5 MB / 0.7012 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.002815/1.789, allocations: 1.465 MB / 1.098 GB, free: 223.4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00714/1.796, allocations: 4.422 MB / 1.102 GB, free: 218.9 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.796, allocations: 0 / 1.102 GB, free: 218.9 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/1.798, allocations: 1.225 MB / 1.104 GB, free: 217.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01374/1.812, allocations: 2.645 MB / 1.106 GB, free: 215.2 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.828, allocations: 11.49 MB / 1.117 GB, free: 203.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/1.83, allocations: 2.854 MB / 1.12 GB, free: 200.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.832, allocations: 431.2 kB / 1.121 GB, free: 200.4 MB / 0.7012 GB Notification: Performance of SimCode: time 1.583e-06/1.832, allocations: 4 kB / 1.121 GB, free: 200.4 MB / 0.7012 GB Notification: Performance of Templates: time 0.1673/1.999, allocations: 191.2 MB / 1.307 GB, free: 9.609 MB / 0.7012 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)