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.001294/0.001294, allocations: 104.1 kB / 17.02 MB, free: 6.141 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.001074/0.001074, allocations: 195 kB / 17.97 MB, free: 5.23 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7126/0.7126, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.332, allocations: 76.14 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5415/0.8735, allocations: 300.4 MB / 0.8509 GB, free: 40.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.05255/0.9261, allocations: 50.03 MB / 0.8997 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01126/0.9374, allocations: 302.2 kB / 0.9 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.9477, allocations: 3.419 MB / 0.9034 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02844/0.9762, allocations: 9.047 MB / 0.9122 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01661/0.9928, allocations: 6.638 MB / 0.9187 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02454/1.017, allocations: 18.49 MB / 0.9367 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009363/1.027, allocations: 5.847 MB / 0.9424 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01615/1.043, allocations: 7.375 MB / 0.9496 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009034/1.052, allocations: 5.083 MB / 0.9546 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002193/1.054, allocations: 0.5704 MB / 0.9552 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/1.067, allocations: 4.383 MB / 0.9594 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002622/1.069, allocations: 1.502 MB / 0.9609 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007088/1.076, allocations: 3.736 MB / 0.9646 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0182/1.095, allocations: 10.43 MB / 0.9747 GB, free: 11.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.095, allocations: 4 kB / 0.9748 GB, free: 11.81 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.144e-06/1.095, allocations: 0 / 0.9748 GB, free: 11.81 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003069/1.095, allocations: 0 / 0.9748 GB, free: 11.81 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.01546/1.111, allocations: 7.481 MB / 0.9821 GB, free: 4.195 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.111, allocations: 8.031 kB / 0.9821 GB, free: 4.188 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/1.113, allocations: 0.7803 MB / 0.9828 GB, free: 3.398 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/1.125, allocations: 5.369 MB / 0.9881 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/1.125, allocations: 320.1 kB / 0.9884 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/1.126, allocations: 439.9 kB / 0.9888 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006806/1.133, allocations: 4.381 MB / 0.9931 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-05/1.133, allocations: 7.938 kB / 0.9931 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/1.134, allocations: 176 kB / 0.9932 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/1.134, allocations: 119.9 kB / 0.9934 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004723/1.138, allocations: 2.961 MB / 0.9963 GB, free: 5.281 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.2799/1.418, allocations: 25.12 MB / 1.021 GB, free: 272.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/1.422, allocations: 2.762 MB / 1.023 GB, free: 270.8 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/1.424, allocations: 0.9935 MB / 1.024 GB, free: 270.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/1.427, allocations: 3.912 MB / 1.028 GB, free: 266 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.676e-05/1.427, allocations: 64.28 kB / 1.028 GB, free: 265.9 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=217): time 9.257e-06/1.427, allocations: 0.5156 kB / 1.028 GB, free: 265.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=217): time 0.01192/1.439, allocations: 4.054 MB / 1.032 GB, free: 264.6 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.439, allocations: 74.84 kB / 1.032 GB, free: 264.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009892/1.449, allocations: 4.305 MB / 1.037 GB, free: 263.1 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005934/1.449, allocations: 81.17 kB / 1.037 GB, free: 263 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/1.452, allocations: 2.775 MB / 1.039 GB, free: 261.4 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.453, allocations: 0.7601 MB / 1.04 GB, free: 260.8 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/1.454, allocations: 0.5683 MB / 1.041 GB, free: 260.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/1.454, allocations: 307 kB / 1.041 GB, free: 260.2 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/1.456, allocations: 0.8293 MB / 1.042 GB, free: 259.9 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/1.458, allocations: 1.821 MB / 1.044 GB, free: 258.4 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/1.462, allocations: 2.516 MB / 1.046 GB, free: 256.7 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-05/1.462, allocations: 7.938 kB / 1.046 GB, free: 256.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00889/1.471, allocations: 3.546 MB / 1.049 GB, free: 255.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/1.471, allocations: 15.38 kB / 1.049 GB, free: 255.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/1.471, allocations: 22.09 kB / 1.049 GB, free: 255.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/1.474, allocations: 0.5858 MB / 1.05 GB, free: 255.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.475, allocations: 0.5525 MB / 1.051 GB, free: 255 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/1.477, allocations: 2.683 MB / 1.053 GB, free: 252.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/1.481, allocations: 328 kB / 1.054 GB, free: 252.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/1.481, allocations: 132.9 kB / 1.054 GB, free: 252.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00329/1.484, allocations: 1.571 MB / 1.055 GB, free: 251.7 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002284/1.487, allocations: 1.799 MB / 1.057 GB, free: 250.2 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003467/1.49, allocations: 2.464 MB / 1.059 GB, free: 248.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-05/1.49, allocations: 6.125 kB / 1.059 GB, free: 248.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006908/1.497, allocations: 3.314 MB / 1.063 GB, free: 247.1 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.497, allocations: 11.91 kB / 1.063 GB, free: 247.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/1.497, allocations: 23.69 kB / 1.063 GB, free: 247.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008682/1.498, allocations: 372.2 kB / 1.063 GB, free: 247 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.5, allocations: 0.5584 MB / 1.064 GB, free: 247 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/1.506, allocations: 8.448 MB / 1.072 GB, free: 239.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004074/1.51, allocations: 290.8 kB / 1.072 GB, free: 239.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/1.51, allocations: 131.8 kB / 1.072 GB, free: 239.4 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.001016/1.511, allocations: 371.5 kB / 1.073 GB, free: 239.1 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/1.513, allocations: 0.5062 MB / 1.073 GB, free: 238.8 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00672/1.52, allocations: 3.568 MB / 1.077 GB, free: 237.3 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-05/1.52, allocations: 37.8 kB / 1.077 GB, free: 237.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.52, allocations: 0 / 1.077 GB, free: 237.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003522/1.524, allocations: 2.432 MB / 1.079 GB, free: 236.3 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.01616/1.54, allocations: 8.213 MB / 1.087 GB, free: 231.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.54, allocations: 8.438 kB / 1.087 GB, free: 231.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.541, allocations: 361.3 kB / 1.087 GB, free: 231.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007083/1.542, allocations: 297.1 kB / 1.088 GB, free: 231.1 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/1.542, allocations: 59.66 kB / 1.088 GB, free: 231.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/1.544, allocations: 2.507 MB / 1.09 GB, free: 228.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.544, allocations: 0 / 1.09 GB, free: 228.7 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007256/1.551, allocations: 4.334 MB / 1.094 GB, free: 225.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002631/1.554, allocations: 0.8921 MB / 1.095 GB, free: 224.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.555, allocations: 40 kB / 1.095 GB, free: 224.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/1.558, allocations: 125.5 kB / 1.095 GB, free: 224.3 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/1.558, allocations: 145.8 kB / 1.095 GB, free: 224.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/1.559, allocations: 115.9 kB / 1.096 GB, free: 224 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.005565/1.564, allocations: 2.844 MB / 1.098 GB, free: 221.2 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.11e-07/1.564, allocations: 3.969 kB / 1.098 GB, free: 221.2 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.009588/1.574, allocations: 3.238 MB / 1.102 GB, free: 218.1 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.002939/1.577, allocations: 1.509 MB / 1.103 GB, free: 216.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00742/1.584, allocations: 4.423 MB / 1.107 GB, free: 212.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.584, allocations: 1.906 kB / 1.107 GB, free: 212.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/1.586, allocations: 1.242 MB / 1.109 GB, free: 211.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.013/1.599, allocations: 2.628 MB / 1.111 GB, free: 208.8 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/1.614, allocations: 9.007 MB / 1.12 GB, free: 199.9 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/1.616, allocations: 2.873 MB / 1.123 GB, free: 197 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006217/1.622, allocations: 1.153 MB / 1.124 GB, free: 195.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/1.624, allocations: 415.2 kB / 1.124 GB, free: 195.4 MB / 0.7012 GB Notification: Performance of SimCode: time 9.62e-07/1.624, allocations: 0 / 1.124 GB, free: 195.4 MB / 0.7012 GB Notification: Performance of Templates: time 0.1324/1.756, allocations: 104.2 MB / 1.226 GB, free: 92.43 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)