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.001037/0.001037, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4926/0.4926, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 79.97 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.472e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1274, allocations: 72.32 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.187, allocations: 386 MB / 0.9305 GB, free: 95.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.187, allocations: 87.27 kB / 0.9305 GB, free: 95.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.332/3.519, allocations: 0.6464 GB / 1.577 GB, free: 93.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/3.519, allocations: 2.156 kB / 1.577 GB, free: 93.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001115/3.519, allocations: 36.11 kB / 1.577 GB, free: 93.22 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.002746/3.522, allocations: 1.477 MB / 1.578 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/3.522, allocations: 7.188 kB / 1.578 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/3.524, allocations: 445.4 kB / 1.579 GB, free: 92.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/3.526, allocations: 1.302 MB / 1.58 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/3.527, allocations: 104 kB / 1.58 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/3.527, allocations: 51.06 kB / 1.58 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009983/3.528, allocations: 0.6154 MB / 1.581 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/3.529, allocations: 0.7702 MB / 1.582 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/3.529, allocations: 3.781 kB / 1.582 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/3.529, allocations: 0 / 1.582 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/3.529, allocations: 32.34 kB / 1.582 GB, free: 91.89 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004775/3.534, allocations: 4.542 MB / 1.586 GB, free: 89.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/3.536, allocations: 0.6608 MB / 1.587 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/3.536, allocations: 194.4 kB / 1.587 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/3.537, allocations: 0.9113 MB / 1.588 GB, free: 88.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/3.537, allocations: 43.5 kB / 1.588 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.246e-06/3.537, allocations: 0 / 1.588 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.00248/3.539, allocations: 0.7535 MB / 1.589 GB, free: 88.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/3.539, allocations: 57.59 kB / 1.589 GB, free: 88.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/3.54, allocations: 0.7438 MB / 1.589 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/3.54, allocations: 31.2 kB / 1.589 GB, free: 88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/3.54, allocations: 0.55 MB / 1.59 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/3.54, allocations: 137.4 kB / 1.59 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/3.54, allocations: 0 / 1.59 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/3.54, allocations: 325.9 kB / 1.59 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/3.541, allocations: 171.2 kB / 1.591 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/3.541, allocations: 409.7 kB / 1.591 GB, free: 87.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/3.542, allocations: 263 kB / 1.591 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/3.542, allocations: 3.125 kB / 1.591 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0012/3.543, allocations: 0.6948 MB / 1.592 GB, free: 87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002803/3.543, allocations: 1.66 MB / 1.594 GB, free: 85.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/3.543, allocations: 3.188 kB / 1.594 GB, free: 85.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/3.544, allocations: 239.4 kB / 1.594 GB, free: 85.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/3.544, allocations: 118.2 kB / 1.594 GB, free: 85.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007991/3.545, allocations: 0.8758 MB / 1.595 GB, free: 84.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/3.546, allocations: 164.5 kB / 1.595 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/3.546, allocations: 27.58 kB / 1.595 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/3.546, allocations: 7 kB / 1.595 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/3.547, allocations: 0.5617 MB / 1.595 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/3.547, allocations: 6.281 kB / 1.595 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/3.548, allocations: 230.2 kB / 1.596 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/3.548, allocations: 122.6 kB / 1.596 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007556/3.549, allocations: 0.86 MB / 1.597 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/3.55, allocations: 143 kB / 1.597 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/3.55, allocations: 33.5 kB / 1.597 GB, free: 84.13 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 () * 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.0001975/3.55, allocations: 117.2 kB / 1.597 GB, free: 84.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/3.551, allocations: 98.81 kB / 1.597 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/3.552, allocations: 0.7197 MB / 1.598 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/3.552, allocations: 12.62 kB / 1.598 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/3.552, allocations: 0 / 1.598 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/3.552, allocations: 6.125 kB / 1.598 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/3.556, allocations: 1.856 MB / 1.6 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/3.556, allocations: 3.594 kB / 1.6 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/3.556, allocations: 69.06 kB / 1.6 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/3.557, allocations: 244.2 kB / 1.6 GB, free: 83.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/3.557, allocations: 15.11 kB / 1.6 GB, free: 83.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007734/3.557, allocations: 0.8942 MB / 1.601 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/3.557, allocations: 3.75 kB / 1.601 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/3.56, allocations: 1.084 MB / 1.602 GB, free: 82.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/3.56, allocations: 266.7 kB / 1.602 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/3.56, allocations: 2.281 kB / 1.602 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/3.561, allocations: 96.91 kB / 1.602 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/3.561, allocations: 37.95 kB / 1.602 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/3.561, allocations: 27.75 kB / 1.602 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007135/3.562, allocations: 0.5713 MB / 1.603 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/3.562, allocations: 1.781 kB / 1.603 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00179/3.564, allocations: 0.6207 MB / 1.603 GB, free: 82.2 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 () * 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.0009682/3.565, allocations: 0.6652 MB / 1.604 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001363/3.566, allocations: 0.7911 MB / 1.605 GB, free: 82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/3.566, allocations: 6.531 kB / 1.605 GB, free: 82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/3.567, allocations: 265.8 kB / 1.605 GB, free: 82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/3.568, allocations: 379.4 kB / 1.605 GB, free: 81.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/3.572, allocations: 1.544 MB / 1.607 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/3.572, allocations: 1.088 MB / 1.608 GB, free: 80.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00103/3.573, allocations: 239.8 kB / 1.608 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/3.573, allocations: 52.28 kB / 1.608 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/3.574, allocations: 0 / 1.608 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.03121/3.605, allocations: 23.06 MB / 1.631 GB, free: 77.87 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)