Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009065/0.0009066, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4772/0.4772, allocations: 90.91 MB / 99.35 MB, free: 2.148 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.388/1.388, allocations: 221.5 MB / 343.2 MB, free: 1.609 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.0008498/0.00085, allocations: 97.67 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.818e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.184, allocations: 386.1 MB / 0.9306 GB, free: 94.92 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.184, allocations: 89.31 kB / 0.9307 GB, free: 94.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.171/3.355, allocations: 0.6464 GB / 1.577 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/3.355, allocations: 0 / 1.577 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001804/3.355, allocations: 35.27 kB / 1.577 GB, free: 93.2 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.003309/3.359, allocations: 1.484 MB / 1.579 GB, free: 92.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/3.359, allocations: 7.312 kB / 1.579 GB, free: 92.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/3.361, allocations: 448.8 kB / 1.579 GB, free: 92.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/3.364, allocations: 1.295 MB / 1.58 GB, free: 92.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/3.364, allocations: 99.31 kB / 1.58 GB, free: 92.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/3.364, allocations: 47.16 kB / 1.58 GB, free: 92.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001229/3.366, allocations: 0.6268 MB / 1.581 GB, free: 92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/3.367, allocations: 0.7669 MB / 1.582 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/3.367, allocations: 1.938 kB / 1.582 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/3.367, allocations: 0 / 1.582 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/3.367, allocations: 30.45 kB / 1.582 GB, free: 91.84 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.005486/3.373, allocations: 4.546 MB / 1.586 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/3.375, allocations: 0.6669 MB / 1.587 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/3.375, allocations: 198.6 kB / 1.587 GB, free: 89.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/3.376, allocations: 0.9141 MB / 1.588 GB, free: 88.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/3.376, allocations: 35.12 kB / 1.588 GB, free: 88.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/3.376, allocations: 0 / 1.588 GB, free: 88.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0026/3.378, allocations: 0.7539 MB / 1.589 GB, free: 88.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/3.378, allocations: 58.22 kB / 1.589 GB, free: 88.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/3.379, allocations: 0.7373 MB / 1.59 GB, free: 87.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/3.379, allocations: 28.98 kB / 1.59 GB, free: 87.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/3.379, allocations: 0.5445 MB / 1.59 GB, free: 87.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/3.38, allocations: 142.9 kB / 1.59 GB, free: 87.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/3.38, allocations: 0 / 1.59 GB, free: 87.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.549e-05/3.38, allocations: 329.8 kB / 1.591 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/3.38, allocations: 167.3 kB / 1.591 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/3.38, allocations: 414.6 kB / 1.591 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/3.381, allocations: 259.4 kB / 1.591 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/3.381, allocations: 0 / 1.591 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002704/3.384, allocations: 0.9189 MB / 1.592 GB, free: 86.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/3.384, allocations: 1.664 MB / 1.594 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/3.384, allocations: 3.969 kB / 1.594 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/3.385, allocations: 237.1 kB / 1.594 GB, free: 85.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/3.385, allocations: 121.6 kB / 1.594 GB, free: 85.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008662/3.386, allocations: 0.8701 MB / 1.595 GB, free: 84.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/3.387, allocations: 165 kB / 1.595 GB, free: 84.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/3.387, allocations: 33.02 kB / 1.595 GB, free: 84.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/3.387, allocations: 3.938 kB / 1.595 GB, free: 84.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002649/3.39, allocations: 0.7825 MB / 1.596 GB, free: 84.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/3.39, allocations: 7.719 kB / 1.596 GB, free: 84.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/3.391, allocations: 231.6 kB / 1.596 GB, free: 84.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/3.391, allocations: 118.5 kB / 1.596 GB, free: 84.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000769/3.392, allocations: 0.8585 MB / 1.597 GB, free: 84.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/3.393, allocations: 139.4 kB / 1.597 GB, free: 84.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/3.393, allocations: 34.98 kB / 1.597 GB, free: 84.06 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.0001997/3.393, allocations: 117.5 kB / 1.597 GB, free: 83.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/3.394, allocations: 98.91 kB / 1.598 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/3.396, allocations: 0.8976 MB / 1.598 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/3.397, allocations: 7.094 kB / 1.598 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/3.397, allocations: 0 / 1.598 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/3.397, allocations: 6.359 kB / 1.598 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/3.401, allocations: 1.887 MB / 1.6 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/3.401, allocations: 3.938 kB / 1.6 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/3.402, allocations: 65.8 kB / 1.6 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000565/3.402, allocations: 243.7 kB / 1.601 GB, free: 83.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/3.402, allocations: 10.92 kB / 1.601 GB, free: 83.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008513/3.403, allocations: 0.895 MB / 1.601 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/3.403, allocations: 5.562 kB / 1.601 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/3.406, allocations: 1.1 MB / 1.603 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/3.407, allocations: 267.3 kB / 1.603 GB, free: 82.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/3.407, allocations: 1.969 kB / 1.603 GB, free: 82.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/3.408, allocations: 105.6 kB / 1.603 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/3.408, allocations: 42.91 kB / 1.603 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/3.408, allocations: 23.98 kB / 1.603 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009239/3.409, allocations: 0.5678 MB / 1.604 GB, free: 82.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/3.409, allocations: 3.688 kB / 1.604 GB, free: 82.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002255/3.411, allocations: 0.6097 MB / 1.604 GB, free: 82.14 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.00125/3.412, allocations: 0.6738 MB / 1.605 GB, free: 81.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00152/3.414, allocations: 0.7912 MB / 1.606 GB, free: 81.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/3.414, allocations: 1.906 kB / 1.606 GB, free: 81.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004267/3.414, allocations: 264 kB / 1.606 GB, free: 81.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/3.416, allocations: 386 kB / 1.606 GB, free: 81.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/3.421, allocations: 1.524 MB / 1.608 GB, free: 81.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/3.421, allocations: 1.086 MB / 1.609 GB, free: 80.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001264/3.423, allocations: 237.3 kB / 1.609 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/3.423, allocations: 50.45 kB / 1.609 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/3.423, allocations: 0 / 1.609 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.03267/3.455, allocations: 23.09 MB / 1.632 GB, free: 77.39 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)