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.001854/0.001854, allocations: 182.9 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.5369/0.5369, allocations: 91.99 MB / 108.5 MB, free: 13.07 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.601/1.601, allocations: 223.2 MB / 354.3 MB, free: 10.41 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.00111/0.00111, allocations: 112.1 kB / 427.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 15.97 kB / 0.4982 GB, free: 42.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 72.3 MB / 0.5689 GB, free: 1.703 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.194, allocations: 386.8 MB / 0.9466 GB, free: 80.34 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.194, allocations: 97 kB / 0.9467 GB, free: 80.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.531/3.725, allocations: 0.6515 GB / 1.598 GB, free: 86.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/3.725, allocations: 0 / 1.598 GB, free: 86.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002177/3.725, allocations: 29.05 kB / 1.598 GB, free: 86.37 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.005424/3.731, allocations: 1.705 MB / 1.6 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/3.731, allocations: 7.625 kB / 1.6 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/3.733, allocations: 446.1 kB / 1.6 GB, free: 85.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/3.737, allocations: 1.32 MB / 1.602 GB, free: 85.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/3.738, allocations: 134.5 kB / 1.602 GB, free: 85.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/3.738, allocations: 79.22 kB / 1.602 GB, free: 85.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/3.74, allocations: 1 MB / 1.603 GB, free: 84.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/3.74, allocations: 3 kB / 1.603 GB, free: 84.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/3.74, allocations: 30.53 kB / 1.603 GB, free: 84.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/3.74, allocations: 36 kB / 1.603 GB, free: 84.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/3.743, allocations: 0.8954 MB / 1.604 GB, free: 84.89 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.007012/3.75, allocations: 4.717 MB / 1.608 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/3.753, allocations: 0.8826 MB / 1.609 GB, free: 82.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/3.754, allocations: 0.91 MB / 1.61 GB, free: 81.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/3.754, allocations: 34.44 kB / 1.61 GB, free: 81.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.986e-06/3.754, allocations: 0 / 1.61 GB, free: 81.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.007927/3.762, allocations: 2.008 MB / 1.612 GB, free: 81.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/3.762, allocations: 60.5 kB / 1.612 GB, free: 81.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/3.764, allocations: 0.9466 MB / 1.613 GB, free: 80.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.872e-05/3.764, allocations: 40.52 kB / 1.613 GB, free: 80.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/3.764, allocations: 0.5321 MB / 1.614 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/3.764, allocations: 152.1 kB / 1.614 GB, free: 80.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/3.764, allocations: 9.875 kB / 1.614 GB, free: 80.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/3.765, allocations: 328.8 kB / 1.614 GB, free: 80.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007927/3.765, allocations: 299.8 kB / 1.614 GB, free: 80.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/3.766, allocations: 0.5451 MB / 1.615 GB, free: 79.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/3.767, allocations: 348.3 kB / 1.615 GB, free: 79.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/3.767, allocations: 5.406 kB / 1.615 GB, free: 79.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00395/3.771, allocations: 1.208 MB / 1.616 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004247/3.772, allocations: 1.674 MB / 1.618 GB, free: 78.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/3.772, allocations: 6.406 kB / 1.618 GB, free: 78.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/3.773, allocations: 359.4 kB / 1.618 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/3.774, allocations: 123.5 kB / 1.619 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/3.775, allocations: 0.9688 MB / 1.619 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/3.777, allocations: 197.8 kB / 1.62 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/3.777, allocations: 29.62 kB / 1.62 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/3.777, allocations: 2.781 kB / 1.62 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003488/3.78, allocations: 1.101 MB / 1.621 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/3.78, allocations: 6.312 kB / 1.621 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/3.781, allocations: 350.9 kB / 1.621 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/3.782, allocations: 116.9 kB / 1.621 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/3.783, allocations: 0.972 MB / 1.622 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/3.784, allocations: 170 kB / 1.622 GB, free: 76.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/3.785, allocations: 27.95 kB / 1.622 GB, free: 76.95 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.000699/3.785, allocations: 353.4 kB / 1.623 GB, free: 76.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/3.785, allocations: 112.4 kB / 1.623 GB, free: 76.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/3.789, allocations: 1.16 MB / 1.624 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/3.789, allocations: 6.719 kB / 1.624 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/3.789, allocations: 0 / 1.624 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/3.789, allocations: 3.797 kB / 1.624 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004947/3.794, allocations: 2.235 MB / 1.626 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/3.794, allocations: 3.656 kB / 1.626 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/3.794, allocations: 62.66 kB / 1.626 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/3.795, allocations: 357.8 kB / 1.627 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/3.795, allocations: 21.16 kB / 1.627 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/3.797, allocations: 0.9969 MB / 1.628 GB, free: 75.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/3.797, allocations: 4.188 kB / 1.628 GB, free: 75.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/3.8, allocations: 1.369 MB / 1.629 GB, free: 75.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007116/3.801, allocations: 279.8 kB / 1.629 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/3.801, allocations: 17.17 kB / 1.629 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009796/3.802, allocations: 115.7 kB / 1.629 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/3.802, allocations: 33.69 kB / 1.629 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/3.803, allocations: 20.61 kB / 1.629 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001199/3.804, allocations: 0.754 MB / 1.63 GB, free: 74.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/3.804, allocations: 0 / 1.63 GB, free: 74.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002029/3.806, allocations: 0.6228 MB / 1.631 GB, free: 74.75 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.001151/3.807, allocations: 0.6664 MB / 1.631 GB, free: 74.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003432/3.81, allocations: 1.149 MB / 1.632 GB, free: 74.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/3.81, allocations: 4.062 kB / 1.632 GB, free: 74.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009733/3.811, allocations: 388.2 kB / 1.633 GB, free: 74.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/3.814, allocations: 499.4 kB / 1.633 GB, free: 74.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/3.819, allocations: 2.461 MB / 1.636 GB, free: 73.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/3.82, allocations: 1.083 MB / 1.637 GB, free: 72.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00108/3.821, allocations: 213.3 kB / 1.637 GB, free: 72.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/3.821, allocations: 77.73 kB / 1.637 GB, free: 72.55 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/3.821, allocations: 0 / 1.637 GB, free: 72.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.04601/3.867, allocations: 26.69 MB / 1.663 GB, free: 65.23 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)