Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 116.9 kB / 17.09 MB, free: 5.957 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.001217/0.001217, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6852/0.6852, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 64.84 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1334, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05197/0.1854, allocations: 61.2 MB / 0.6925 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.2012, allocations: 12.01 MB / 0.7042 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.2038, allocations: 59.62 kB / 0.7043 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.2058, allocations: 0.6752 MB / 0.7049 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.2111, allocations: 1.981 MB / 0.7069 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.214, allocations: 1.208 MB / 0.7081 GB, free: 7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.2178, allocations: 3.092 MB / 0.7111 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.2191, allocations: 1.108 MB / 0.7122 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.2219, allocations: 1.377 MB / 0.7135 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.2231, allocations: 0.8983 MB / 0.7144 GB, free: 484 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.2233, allocations: 116 kB / 0.7145 GB, free: 368 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.226, allocations: 1.45 MB / 0.7159 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.2263, allocations: 298.8 kB / 0.7162 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007135/0.227, allocations: 0.6997 MB / 0.7169 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.2303, allocations: 2.314 MB / 0.7191 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2303, allocations: 0 / 0.7191 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2303, allocations: 0 / 0.7191 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.2303, allocations: 0 / 0.7191 GB, free: 11.59 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002807/0.2331, allocations: 1.746 MB / 0.7208 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2332, allocations: 11.97 kB / 0.7209 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.2352, allocations: 410.8 kB / 0.7213 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.2371, allocations: 1.168 MB / 0.7224 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.2372, allocations: 58 kB / 0.7224 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2373, allocations: 88 kB / 0.7225 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.2392, allocations: 1.017 MB / 0.7235 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2392, allocations: 3.938 kB / 0.7235 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.2393, allocations: 32 kB / 0.7236 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.2394, allocations: 20 kB / 0.7236 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.2415, allocations: 0.8742 MB / 0.7244 GB, free: 5.996 MB / 0.5606 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.005962/0.2475, allocations: 5.238 MB / 0.7295 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.2506, allocations: 0.7996 MB / 0.7303 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/0.2513, allocations: 310.4 kB / 0.7306 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/0.2519, allocations: 0.9025 MB / 0.7315 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2519, allocations: 46.45 kB / 0.7315 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.2519, allocations: 0 / 0.7315 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00571/0.2576, allocations: 1.606 MB / 0.7331 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2577, allocations: 55.41 kB / 0.7332 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.2592, allocations: 1.088 MB / 0.7342 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.2593, allocations: 37.7 kB / 0.7343 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.2597, allocations: 0.535 MB / 0.7348 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2598, allocations: 153.8 kB / 0.7349 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.26, allocations: 138.1 kB / 0.7351 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2601, allocations: 330 kB / 0.7354 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008702/0.261, allocations: 319.2 kB / 0.7357 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.2621, allocations: 0.5446 MB / 0.7362 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.2637, allocations: 0.7349 MB / 0.7369 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.2637, allocations: 0 / 0.7369 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002676/0.2664, allocations: 1.047 MB / 0.738 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2664, allocations: 12.03 kB / 0.738 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2664, allocations: 4 kB / 0.738 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.2676, allocations: 304.6 kB / 0.7383 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.2681, allocations: 143.8 kB / 0.7384 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.2695, allocations: 0.902 MB / 0.7393 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.2706, allocations: 159.2 kB / 0.7394 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.2707, allocations: 31.98 kB / 0.7395 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001167/0.2719, allocations: 0.5252 MB / 0.74 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001019/0.2729, allocations: 0.5329 MB / 0.7405 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001655/0.2746, allocations: 0.7337 MB / 0.7412 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.2746, allocations: 0 / 0.7412 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002657/0.2773, allocations: 1.028 MB / 0.7422 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2773, allocations: 8.031 kB / 0.7422 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2773, allocations: 8 kB / 0.7422 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/0.2783, allocations: 300.6 kB / 0.7425 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.2788, allocations: 131.8 kB / 0.7426 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2801, allocations: 0.8918 MB / 0.7435 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.2812, allocations: 139.5 kB / 0.7437 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.2813, allocations: 35.92 kB / 0.7437 GB, free: 1.176 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.2815, allocations: 224 kB / 0.7439 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.2817, allocations: 114.6 kB / 0.744 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3253/0.607, allocations: 1.08 MB / 0.7451 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.6071, allocations: 7 kB / 0.7451 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6071, allocations: 1.031 kB / 0.7451 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.6071, allocations: 3.188 kB / 0.7451 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005275/0.6124, allocations: 2.184 MB / 0.7472 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6124, allocations: 2.219 kB / 0.7472 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.6127, allocations: 73.05 kB / 0.7473 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008944/0.6136, allocations: 296.5 kB / 0.7476 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.6137, allocations: 13.2 kB / 0.7476 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.6149, allocations: 0.9259 MB / 0.7485 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6149, allocations: 6.062 kB / 0.7485 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.6184, allocations: 1.193 MB / 0.7496 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.6188, allocations: 269.6 kB / 0.7499 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6189, allocations: 8.922 kB / 0.7499 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.6197, allocations: 80.52 kB / 0.75 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.6198, allocations: 33.06 kB / 0.75 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.6199, allocations: 25.06 kB / 0.75 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001102/0.621, allocations: 0.765 MB / 0.7508 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.621, allocations: 1.031 kB / 0.7508 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001532/0.6225, allocations: 0.5751 MB / 0.7514 GB, free: 107.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000737/0.6233, allocations: 388.7 kB / 0.7517 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003046/0.6263, allocations: 1.166 MB / 0.7529 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6264, allocations: 0 / 0.7529 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.6272, allocations: 373.5 kB / 0.7532 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.6292, allocations: 0.5132 MB / 0.7537 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/0.6344, allocations: 2.067 MB / 0.7557 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/0.6354, allocations: 1.074 MB / 0.7568 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.6357, allocations: 84.02 kB / 0.7569 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.133e-06/0.6357, allocations: 3.5 kB / 0.7569 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02844/0.6642, allocations: 24.51 MB / 0.7808 GB, free: 89.14 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)