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.001492/0.001492, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001718/0.001718, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7844/0.7844, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.25 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1801, allocations: 76.17 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.06136/0.2415, allocations: 61.12 MB / 0.6917 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.2579, allocations: 12.01 MB / 0.7035 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.2605, allocations: 55.69 kB / 0.7035 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.2628, allocations: 0.6947 MB / 0.7042 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.2694, allocations: 2.067 MB / 0.7062 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.2734, allocations: 1.204 MB / 0.7074 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005166/0.2786, allocations: 3.099 MB / 0.7104 GB, free: 3.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.2807, allocations: 1.096 MB / 0.7115 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.2852, allocations: 1.364 MB / 0.7128 GB, free: 1.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.2872, allocations: 0.8983 MB / 0.7137 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000413/0.2876, allocations: 116 kB / 0.7138 GB, free: 404 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.2917, allocations: 1.447 MB / 0.7152 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005249/0.2923, allocations: 294.9 kB / 0.7155 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.2937, allocations: 0.6997 MB / 0.7162 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.2982, allocations: 2.29 MB / 0.7184 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2982, allocations: 4 kB / 0.7184 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2982, allocations: 0 / 0.7184 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.218e-05/0.2983, allocations: 0 / 0.7184 GB, free: 11.65 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003693/0.302, allocations: 1.715 MB / 0.7201 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3021, allocations: 12.03 kB / 0.7201 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.3044, allocations: 410.8 kB / 0.7205 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.3068, allocations: 1.167 MB / 0.7216 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.3069, allocations: 58 kB / 0.7217 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.307, allocations: 84 kB / 0.7218 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.3092, allocations: 0.9989 MB / 0.7228 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3092, allocations: 0 / 0.7228 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.3093, allocations: 36 kB / 0.7228 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3094, allocations: 16 kB / 0.7228 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.3117, allocations: 0.8508 MB / 0.7236 GB, free: 6.145 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.006762/0.3185, allocations: 5.226 MB / 0.7287 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.322, allocations: 0.7915 MB / 0.7295 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/0.3227, allocations: 292.7 kB / 0.7298 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.3234, allocations: 0.9063 MB / 0.7307 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3234, allocations: 34.56 kB / 0.7307 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.3234, allocations: 4 kB / 0.7307 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007307/0.3307, allocations: 1.692 MB / 0.7324 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.3308, allocations: 59.41 kB / 0.7324 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.3326, allocations: 1.072 MB / 0.7335 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/0.3327, allocations: 37.7 kB / 0.7335 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.3332, allocations: 0.5389 MB / 0.734 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3333, allocations: 153.8 kB / 0.7342 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.3335, allocations: 134.1 kB / 0.7343 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3337, allocations: 333.9 kB / 0.7346 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/0.3346, allocations: 303.3 kB / 0.7349 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.3357, allocations: 0.529 MB / 0.7354 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.3374, allocations: 0.7096 MB / 0.7361 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.3374, allocations: 4 kB / 0.7361 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002863/0.3403, allocations: 1.008 MB / 0.7371 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3403, allocations: 8 kB / 0.7371 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3403, allocations: 4 kB / 0.7371 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.3416, allocations: 300.6 kB / 0.7374 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.3422, allocations: 135.7 kB / 0.7375 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.3438, allocations: 0.9023 MB / 0.7384 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.3451, allocations: 159.2 kB / 0.7386 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.3452, allocations: 35.98 kB / 0.7386 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001245/0.3464, allocations: 0.5051 MB / 0.7391 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001072/0.3475, allocations: 0.5329 MB / 0.7396 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001682/0.3492, allocations: 0.6983 MB / 0.7403 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.902e-06/0.3492, allocations: 4 kB / 0.7403 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002979/0.3522, allocations: 0.9964 MB / 0.7413 GB, free: 3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3523, allocations: 9.875 kB / 0.7413 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3523, allocations: 4 kB / 0.7413 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.3534, allocations: 300.7 kB / 0.7416 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.354, allocations: 131.8 kB / 0.7417 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.3554, allocations: 0.9014 MB / 0.7426 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.3567, allocations: 131.6 kB / 0.7427 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.3568, allocations: 27.98 kB / 0.7427 GB, free: 1.48 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.0002674/0.3571, allocations: 220.1 kB / 0.7429 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.3574, allocations: 114.6 kB / 0.7431 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.3599, allocations: 0.9183 MB / 0.744 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.3599, allocations: 4 kB / 0.744 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3599, allocations: 0 / 0.744 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3599, allocations: 3.984 kB / 0.744 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3793/0.7392, allocations: 2.142 MB / 0.7461 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.7393, allocations: 2.938 kB / 0.7461 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.7396, allocations: 58.03 kB / 0.7461 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.741, allocations: 290.3 kB / 0.7464 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.7411, allocations: 18.05 kB / 0.7464 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.7428, allocations: 0.9247 MB / 0.7473 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.7429, allocations: 3.312 kB / 0.7473 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.7471, allocations: 1.148 MB / 0.7484 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/0.7477, allocations: 260.2 kB / 0.7487 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.7479, allocations: 12.78 kB / 0.7487 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008504/0.7487, allocations: 72.19 kB / 0.7488 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7488, allocations: 38.89 kB / 0.7488 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.7489, allocations: 27.53 kB / 0.7488 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001478/0.7504, allocations: 0.755 MB / 0.7496 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7504, allocations: 0 / 0.7496 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001905/0.7523, allocations: 0.5655 MB / 0.7501 GB, free: 107.5 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.0008742/0.7532, allocations: 381.1 kB / 0.7505 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003368/0.7566, allocations: 1.12 MB / 0.7516 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7566, allocations: 1.188 kB / 0.7516 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008326/0.7574, allocations: 347.1 kB / 0.7519 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.7597, allocations: 0.5098 MB / 0.7524 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.7651, allocations: 2.015 MB / 0.7544 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/0.7661, allocations: 1.068 MB / 0.7554 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001119/0.7672, allocations: 223.8 kB / 0.7556 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.7675, allocations: 78.27 kB / 0.7557 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.02e-07/0.7675, allocations: 3.969 kB / 0.7557 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04179/0.8093, allocations: 25 MB / 0.7801 GB, free: 89.09 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)