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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 182.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5557/0.5557, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008828, allocations: 107.2 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 15.94 kB / 0.4982 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 72.32 MB / 0.5689 GB, free: 1.961 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9932/1.132, allocations: 386.7 MB / 0.9465 GB, free: 80.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.132, allocations: 97.06 kB / 0.9466 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.467/3.599, allocations: 0.6515 GB / 1.598 GB, free: 86.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/3.599, allocations: 0 / 1.598 GB, free: 86.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002248/3.6, allocations: 30.73 kB / 1.598 GB, free: 86.89 MB / 0.6042 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.004899/3.605, allocations: 1.719 MB / 1.6 GB, free: 86.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/3.605, allocations: 9.938 kB / 1.6 GB, free: 86.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/3.607, allocations: 441.3 kB / 1.6 GB, free: 85.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/3.61, allocations: 1.319 MB / 1.602 GB, free: 85.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/3.61, allocations: 132.2 kB / 1.602 GB, free: 85.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/3.61, allocations: 80.31 kB / 1.602 GB, free: 85.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/3.612, allocations: 1.007 MB / 1.603 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/3.612, allocations: 0 / 1.603 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/3.612, allocations: 29.66 kB / 1.603 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/3.612, allocations: 34.06 kB / 1.603 GB, free: 85.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/3.614, allocations: 0.8905 MB / 1.604 GB, free: 85.41 MB / 0.6042 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.006146/3.621, allocations: 4.705 MB / 1.608 GB, free: 82.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/3.624, allocations: 0.8803 MB / 1.609 GB, free: 82.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/3.624, allocations: 0.9048 MB / 1.61 GB, free: 81.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/3.624, allocations: 36.75 kB / 1.61 GB, free: 81.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.355e-06/3.624, allocations: 2.406 kB / 1.61 GB, free: 81.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.00801/3.632, allocations: 2.014 MB / 1.612 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/3.632, allocations: 61.12 kB / 1.612 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/3.634, allocations: 0.9489 MB / 1.613 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/3.634, allocations: 41.72 kB / 1.613 GB, free: 81.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/3.635, allocations: 0.5293 MB / 1.614 GB, free: 81.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/3.635, allocations: 147.9 kB / 1.614 GB, free: 81.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/3.635, allocations: 10.34 kB / 1.614 GB, free: 81.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/3.635, allocations: 332.1 kB / 1.614 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/3.636, allocations: 304.8 kB / 1.614 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009225/3.637, allocations: 0.539 MB / 1.615 GB, free: 80.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/3.637, allocations: 349.5 kB / 1.615 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/3.637, allocations: 5.031 kB / 1.615 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002401/3.64, allocations: 0.9954 MB / 1.616 GB, free: 80.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004053/3.64, allocations: 1.674 MB / 1.618 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/3.64, allocations: 3.938 kB / 1.618 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/3.642, allocations: 351.3 kB / 1.618 GB, free: 78.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/3.642, allocations: 125.2 kB / 1.618 GB, free: 78.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/3.644, allocations: 0.9746 MB / 1.619 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/3.645, allocations: 193.5 kB / 1.619 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/3.645, allocations: 35.92 kB / 1.619 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/3.645, allocations: 3.688 kB / 1.619 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002146/3.647, allocations: 0.8778 MB / 1.62 GB, free: 78.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/3.647, allocations: 7.531 kB / 1.62 GB, free: 78.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/3.649, allocations: 351 kB / 1.621 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/3.649, allocations: 111.9 kB / 1.621 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/3.65, allocations: 0.9769 MB / 1.622 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/3.652, allocations: 172 kB / 1.622 GB, free: 77.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/3.652, allocations: 36.38 kB / 1.622 GB, free: 77.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0006931/3.653, allocations: 343.2 kB / 1.622 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/3.653, allocations: 111 kB / 1.622 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/3.655, allocations: 0.9776 MB / 1.623 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/3.655, allocations: 6.719 kB / 1.623 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/3.655, allocations: 7.516 kB / 1.623 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/3.655, allocations: 0 / 1.623 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/3.66, allocations: 2.213 MB / 1.625 GB, free: 76.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/3.66, allocations: 7.859 kB / 1.625 GB, free: 76.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/3.66, allocations: 74.16 kB / 1.625 GB, free: 76.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/3.662, allocations: 350.5 kB / 1.626 GB, free: 76.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/3.662, allocations: 13.34 kB / 1.626 GB, free: 76.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/3.663, allocations: 1.009 MB / 1.627 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/3.663, allocations: 3.281 kB / 1.627 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/3.666, allocations: 1.343 MB / 1.628 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/3.667, allocations: 280.4 kB / 1.628 GB, free: 75.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/3.667, allocations: 14.59 kB / 1.628 GB, free: 75.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/3.668, allocations: 107.8 kB / 1.629 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/3.668, allocations: 38.8 kB / 1.629 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/3.668, allocations: 21.8 kB / 1.629 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001219/3.67, allocations: 0.7535 MB / 1.629 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/3.67, allocations: 0 / 1.629 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002006/3.672, allocations: 0.6239 MB / 1.63 GB, free: 75.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/3.673, allocations: 0.6644 MB / 1.631 GB, free: 75.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002963/3.676, allocations: 1.13 MB / 1.632 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/3.676, allocations: 7.125 kB / 1.632 GB, free: 75.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009311/3.677, allocations: 375.7 kB / 1.632 GB, free: 75.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/3.679, allocations: 0.4922 MB / 1.633 GB, free: 75.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/3.684, allocations: 2.473 MB / 1.635 GB, free: 73.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/3.685, allocations: 1.08 MB / 1.636 GB, free: 73.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001104/3.686, allocations: 218.8 kB / 1.636 GB, free: 73.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/3.686, allocations: 75.08 kB / 1.636 GB, free: 73.15 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/3.686, allocations: 0 / 1.636 GB, free: 73.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.0391/3.725, allocations: 26.72 MB / 1.662 GB, free: 66.09 MB / 0.6042 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)