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.001566/0.001566, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5131/0.5131, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.248/1.248, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 96.44 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.973e-05, allocations: 7.984 kB / 0.4896 GB, free: 5.383 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3534, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.37, allocations: 386.6 MB / 0.9378 GB, free: 230.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.37, allocations: 88.17 kB / 0.9379 GB, free: 230.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.047/3.417, allocations: 0.6495 GB / 1.587 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/3.417, allocations: 0 / 1.587 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001912/3.417, allocations: 31.98 kB / 1.587 GB, free: 43.69 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.004212/3.421, allocations: 1.49 MB / 1.589 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/3.421, allocations: 11.98 kB / 1.589 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/3.424, allocations: 445.1 kB / 1.589 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/3.428, allocations: 1.304 MB / 1.591 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/3.428, allocations: 126.8 kB / 1.591 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/3.428, allocations: 80 kB / 1.591 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/3.43, allocations: 0.8734 MB / 1.592 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/3.43, allocations: 7.125 kB / 1.592 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/3.43, allocations: 32 kB / 1.592 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/3.43, allocations: 33.98 kB / 1.592 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/3.431, allocations: 0.6365 MB / 1.592 GB, free: 38.51 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.00609/3.437, allocations: 4.71 MB / 1.597 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/3.44, allocations: 0.6919 MB / 1.598 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/3.44, allocations: 200.8 kB / 1.598 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/3.44, allocations: 0.9064 MB / 1.599 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/3.44, allocations: 38.56 kB / 1.599 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/3.44, allocations: 0 / 1.599 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.00238/3.443, allocations: 0.7663 MB / 1.599 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/3.443, allocations: 55.41 kB / 1.599 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/3.444, allocations: 0.9066 MB / 1.6 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/3.444, allocations: 37.7 kB / 1.6 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/3.444, allocations: 0.5354 MB / 1.601 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/3.444, allocations: 149.8 kB / 1.601 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/3.444, allocations: 4 kB / 1.601 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/3.445, allocations: 333.9 kB / 1.601 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/3.445, allocations: 181.1 kB / 1.602 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/3.445, allocations: 423.5 kB / 1.602 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/3.445, allocations: 227 kB / 1.602 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/3.445, allocations: 0 / 1.602 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001014/3.447, allocations: 0.7153 MB / 1.603 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002624/3.447, allocations: 1.669 MB / 1.604 GB, free: 25.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/3.447, allocations: 8 kB / 1.604 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/3.448, allocations: 260.4 kB / 1.605 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/3.448, allocations: 115.9 kB / 1.605 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006698/3.449, allocations: 0.8307 MB / 1.606 GB, free: 23.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/3.45, allocations: 191.2 kB / 1.606 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/3.45, allocations: 35.3 kB / 1.606 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/3.45, allocations: 7.938 kB / 1.606 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008553/3.451, allocations: 0.5821 MB / 1.606 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/3.451, allocations: 4 kB / 1.606 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/3.452, allocations: 250.9 kB / 1.607 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/3.452, allocations: 127.5 kB / 1.607 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005992/3.453, allocations: 0.8255 MB / 1.608 GB, free: 21.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/3.454, allocations: 163.4 kB / 1.608 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/3.454, allocations: 31.98 kB / 1.608 GB, free: 21.71 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.000154/3.454, allocations: 145 kB / 1.608 GB, free: 21.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/3.454, allocations: 106.7 kB / 1.608 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/3.455, allocations: 0.7496 MB / 1.609 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/3.455, allocations: 11.98 kB / 1.609 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/3.455, allocations: 0 / 1.609 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/3.455, allocations: 0 / 1.609 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/3.459, allocations: 1.995 MB / 1.611 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/3.459, allocations: 0 / 1.611 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/3.459, allocations: 67.89 kB / 1.611 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006311/3.46, allocations: 251.8 kB / 1.611 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/3.46, allocations: 15.98 kB / 1.611 GB, free: 18.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006551/3.461, allocations: 0.8607 MB / 1.612 GB, free: 17.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/3.461, allocations: 0 / 1.612 GB, free: 17.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/3.463, allocations: 1.126 MB / 1.613 GB, free: 16.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/3.463, allocations: 279.5 kB / 1.613 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/3.464, allocations: 12 kB / 1.613 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/3.464, allocations: 111.8 kB / 1.613 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/3.464, allocations: 39.84 kB / 1.613 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/3.465, allocations: 19.98 kB / 1.613 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008741/3.465, allocations: 0.7091 MB / 1.614 GB, free: 15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/3.465, allocations: 0 / 1.614 GB, free: 15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001783/3.467, allocations: 0.6238 MB / 1.615 GB, free: 14.38 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.0009531/3.468, allocations: 0.6572 MB / 1.615 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001441/3.47, allocations: 0.8413 MB / 1.616 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/3.47, allocations: 0 / 1.616 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005101/3.47, allocations: 295.5 kB / 1.616 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/3.472, allocations: 0.4925 MB / 1.617 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/3.476, allocations: 1.593 MB / 1.619 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/3.476, allocations: 1.091 MB / 1.62 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00109/3.478, allocations: 258.9 kB / 1.62 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/3.478, allocations: 59.42 kB / 1.62 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/3.478, allocations: 0 / 1.62 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of Templates: time 0.4374/3.915, allocations: 29.37 MB / 1.649 GB, free: 88.07 MB / 0.6198 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)