Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001706/0.001706, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8307/0.8307, allocations: 126.1 MB / 417.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.19 kB / 0.5731 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1936, allocations: 78.71 MB / 0.6499 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.06407/0.2577, allocations: 61.13 MB / 0.7096 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.2765, allocations: 11.99 MB / 0.7213 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.2791, allocations: 59.62 kB / 0.7214 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.2817, allocations: 0.6791 MB / 0.7221 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.2881, allocations: 1.971 MB / 0.724 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.2916, allocations: 1.204 MB / 0.7252 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005042/0.2967, allocations: 3.077 MB / 0.7282 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.2987, allocations: 1.1 MB / 0.7292 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.3023, allocations: 1.336 MB / 0.7305 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.3041, allocations: 0.8867 MB / 0.7314 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.3045, allocations: 116 kB / 0.7315 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.3078, allocations: 1.439 MB / 0.7329 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.3083, allocations: 302.7 kB / 0.7332 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.3096, allocations: 0.6997 MB / 0.7339 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006503/0.3161, allocations: 2.293 MB / 0.7361 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3162, allocations: 4 kB / 0.7361 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3162, allocations: 3.938 kB / 0.7361 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.708e-05/0.3163, allocations: 0 / 0.7361 GB, free: 11.45 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004386/0.3207, allocations: 1.771 MB / 0.7379 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3207, allocations: 11.97 kB / 0.7379 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.323, allocations: 427.3 kB / 0.7383 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.3256, allocations: 1.168 MB / 0.7394 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.3256, allocations: 62 kB / 0.7395 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3258, allocations: 80 kB / 0.7396 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.3279, allocations: 0.9976 MB / 0.7405 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.3279, allocations: 4 kB / 0.7405 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.328, allocations: 32 kB / 0.7406 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.328, allocations: 19.94 kB / 0.7406 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.3302, allocations: 0.8546 MB / 0.7414 GB, free: 5.852 MB / 0.5762 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.008114/0.3383, allocations: 5.223 MB / 0.7465 GB, free: 264 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.516/0.8543, allocations: 0.7829 MB / 0.7473 GB, free: 94.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.8552, allocations: 293.7 kB / 0.7476 GB, free: 94.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/0.8557, allocations: 0.9046 MB / 0.7485 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.8557, allocations: 38.75 kB / 0.7485 GB, free: 93.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.8557, allocations: 0.5625 kB / 0.7485 GB, free: 93.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007081/0.8628, allocations: 1.694 MB / 0.7501 GB, free: 93.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.8629, allocations: 61.16 kB / 0.7502 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.8647, allocations: 1.077 MB / 0.7513 GB, free: 92.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.8648, allocations: 38.02 kB / 0.7513 GB, free: 92.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.8652, allocations: 0.5385 MB / 0.7518 GB, free: 92.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.8653, allocations: 158.9 kB / 0.752 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.8656, allocations: 136.5 kB / 0.7521 GB, free: 92.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.8657, allocations: 330.3 kB / 0.7524 GB, free: 92.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009169/0.8666, allocations: 309 kB / 0.7527 GB, free: 92.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.8677, allocations: 0.5272 MB / 0.7532 GB, free: 91.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.8694, allocations: 0.7087 MB / 0.7539 GB, free: 91.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.8695, allocations: 1.625 kB / 0.7539 GB, free: 91.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00307/0.8725, allocations: 1.013 MB / 0.7549 GB, free: 90.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.8726, allocations: 7.531 kB / 0.7549 GB, free: 90.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.8726, allocations: 5.531 kB / 0.7549 GB, free: 90.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.8739, allocations: 307.3 kB / 0.7552 GB, free: 90.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.8746, allocations: 131.2 kB / 0.7553 GB, free: 90.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.8761, allocations: 0.903 MB / 0.7562 GB, free: 90.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.8776, allocations: 159.1 kB / 0.7564 GB, free: 90.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.8777, allocations: 31.8 kB / 0.7564 GB, free: 90.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001473/0.8792, allocations: 0.509 MB / 0.7569 GB, free: 89.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.8802, allocations: 0.5299 MB / 0.7574 GB, free: 89.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001587/0.8818, allocations: 0.6977 MB / 0.7581 GB, free: 89.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.8819, allocations: 1.469 kB / 0.7581 GB, free: 89.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002868/0.8847, allocations: 1.008 MB / 0.7591 GB, free: 88.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8848, allocations: 7.188 kB / 0.7591 GB, free: 88.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.8848, allocations: 9.562 kB / 0.7591 GB, free: 88.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.8859, allocations: 307.2 kB / 0.7594 GB, free: 88.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.8865, allocations: 124.1 kB / 0.7595 GB, free: 88.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.8877, allocations: 0.8937 MB / 0.7604 GB, free: 88.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.8893, allocations: 133.5 kB / 0.7605 GB, free: 88.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.8894, allocations: 30.84 kB / 0.7605 GB, free: 88.1 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 (57): * Single equations (assignments): 56 * 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.0003775/0.8898, allocations: 222.8 kB / 0.7608 GB, free: 87.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.89, allocations: 117.4 kB / 0.7609 GB, free: 87.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.8929, allocations: 0.9166 MB / 0.7618 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.8929, allocations: 7.219 kB / 0.7618 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.8929, allocations: 7.562 kB / 0.7618 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8929, allocations: 2.531 kB / 0.7618 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/0.8989, allocations: 2.147 MB / 0.7639 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.899, allocations: 4.688 kB / 0.7639 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.8993, allocations: 65.44 kB / 0.7639 GB, free: 86.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.9005, allocations: 299.4 kB / 0.7642 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.9005, allocations: 12 kB / 0.7642 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.9019, allocations: 0.9321 MB / 0.7652 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.902, allocations: 2.844 kB / 0.7652 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/0.906, allocations: 1.145 MB / 0.7663 GB, free: 85.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.9067, allocations: 281 kB / 0.7665 GB, free: 85.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.9068, allocations: 8.5 kB / 0.7665 GB, free: 85.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007882/0.9076, allocations: 72.84 kB / 0.7666 GB, free: 85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.9078, allocations: 35.64 kB / 0.7667 GB, free: 85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.9078, allocations: 23.41 kB / 0.7667 GB, free: 84.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001586/0.9094, allocations: 0.7569 MB / 0.7674 GB, free: 84.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9094, allocations: 0 / 0.7674 GB, free: 84.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002603/0.912, allocations: 0.5687 MB / 0.768 GB, free: 84.61 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 (33): * Single equations (assignments): 28 * 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.000933/0.913, allocations: 386.9 kB / 0.7683 GB, free: 84.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.9162, allocations: 1.121 MB / 0.7694 GB, free: 84.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9162, allocations: 1.125 kB / 0.7694 GB, free: 84.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.9171, allocations: 348.5 kB / 0.7698 GB, free: 84.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.9194, allocations: 0.5083 MB / 0.7703 GB, free: 83.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/0.9243, allocations: 2.058 MB / 0.7723 GB, free: 82.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.9248, allocations: 1.076 MB / 0.7733 GB, free: 81.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008841/0.9257, allocations: 230.4 kB / 0.7735 GB, free: 81.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.9258, allocations: 73.3 kB / 0.7736 GB, free: 81.69 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.9259, allocations: 0 / 0.7736 GB, free: 81.69 MB / 0.5762 GB Notification: Performance of Templates: time 0.03359/0.9594, allocations: 25 MB / 0.798 GB, free: 60.29 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)