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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 182.5 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5045/0.5045, allocations: 91.98 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.528/1.528, allocations: 223.2 MB / 354.3 MB, free: 10.4 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.001005/0.001005, allocations: 96.3 kB / 427.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 72.32 MB / 0.5689 GB, free: 1.566 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.187, allocations: 386.8 MB / 0.9467 GB, free: 80.17 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.187, allocations: 90.83 kB / 0.9468 GB, free: 80.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.265/3.452, allocations: 0.6515 GB / 1.598 GB, free: 86.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/3.452, allocations: 0 / 1.598 GB, free: 86.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001144/3.452, allocations: 31.42 kB / 1.598 GB, free: 86.8 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.003842/3.456, allocations: 1.715 MB / 1.6 GB, free: 85.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/3.456, allocations: 7.312 kB / 1.6 GB, free: 85.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/3.456, allocations: 123.6 kB / 1.6 GB, free: 85.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/3.458, allocations: 445.5 kB / 1.601 GB, free: 85.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/3.461, allocations: 1.323 MB / 1.602 GB, free: 85.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/3.461, allocations: 129.3 kB / 1.602 GB, free: 85.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/3.462, allocations: 84.5 kB / 1.602 GB, free: 85.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/3.463, allocations: 0.9989 MB / 1.603 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/3.463, allocations: 0.8438 kB / 1.603 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/3.463, allocations: 32.72 kB / 1.603 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/3.464, allocations: 33.02 kB / 1.603 GB, free: 85.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/3.466, allocations: 0.8958 MB / 1.604 GB, free: 85.27 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.005562/3.471, allocations: 4.705 MB / 1.609 GB, free: 82.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/3.474, allocations: 0.8858 MB / 1.609 GB, free: 82.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004757/3.475, allocations: 0.9093 MB / 1.61 GB, free: 81.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/3.475, allocations: 33.69 kB / 1.61 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.515e-06/3.475, allocations: 0 / 1.61 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.007866/3.483, allocations: 2.006 MB / 1.612 GB, free: 81.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/3.483, allocations: 60.16 kB / 1.612 GB, free: 81.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/3.484, allocations: 0.9505 MB / 1.613 GB, free: 81.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.604e-05/3.484, allocations: 39.17 kB / 1.613 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/3.485, allocations: 0.5389 MB / 1.614 GB, free: 81.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/3.485, allocations: 140 kB / 1.614 GB, free: 80.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/3.485, allocations: 15.44 kB / 1.614 GB, free: 80.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/3.485, allocations: 330.8 kB / 1.614 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/3.486, allocations: 305.4 kB / 1.615 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/3.487, allocations: 0.542 MB / 1.615 GB, free: 80.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/3.488, allocations: 346.9 kB / 1.615 GB, free: 80.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/3.488, allocations: 1.5 kB / 1.615 GB, free: 80.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003705/3.491, allocations: 1.222 MB / 1.617 GB, free: 80.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004634/3.492, allocations: 1.669 MB / 1.618 GB, free: 78.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/3.492, allocations: 7.156 kB / 1.618 GB, free: 78.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/3.493, allocations: 351.7 kB / 1.619 GB, free: 78.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/3.494, allocations: 122.5 kB / 1.619 GB, free: 78.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/3.495, allocations: 0.9748 MB / 1.62 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/3.496, allocations: 193.9 kB / 1.62 GB, free: 77.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/3.496, allocations: 32.5 kB / 1.62 GB, free: 77.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/3.496, allocations: 9.109 kB / 1.62 GB, free: 77.95 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003506/3.5, allocations: 1.098 MB / 1.621 GB, free: 77.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/3.5, allocations: 3.688 kB / 1.621 GB, free: 77.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/3.501, allocations: 349.8 kB / 1.621 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/3.502, allocations: 120.3 kB / 1.621 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/3.503, allocations: 0.9638 MB / 1.622 GB, free: 77.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/3.504, allocations: 166.5 kB / 1.623 GB, free: 77.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/3.504, allocations: 33.64 kB / 1.623 GB, free: 77.35 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.0006239/3.505, allocations: 358.1 kB / 1.623 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/3.505, allocations: 111.1 kB / 1.623 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/3.508, allocations: 1.161 MB / 1.624 GB, free: 76.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/3.508, allocations: 10.62 kB / 1.624 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/3.508, allocations: 0 / 1.624 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/3.508, allocations: 3.797 kB / 1.624 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/3.513, allocations: 2.232 MB / 1.626 GB, free: 76.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/3.513, allocations: 8.312 kB / 1.626 GB, free: 76.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/3.514, allocations: 63.53 kB / 1.626 GB, free: 76.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/3.515, allocations: 362.4 kB / 1.627 GB, free: 76.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/3.515, allocations: 14.3 kB / 1.627 GB, free: 76.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/3.516, allocations: 0.9994 MB / 1.628 GB, free: 75.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/3.516, allocations: 3.375 kB / 1.628 GB, free: 75.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/3.519, allocations: 1.374 MB / 1.629 GB, free: 75.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/3.52, allocations: 272 kB / 1.629 GB, free: 75.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/3.52, allocations: 13.88 kB / 1.629 GB, free: 75.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008816/3.521, allocations: 112.1 kB / 1.629 GB, free: 75.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/3.521, allocations: 46.44 kB / 1.629 GB, free: 75.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/3.521, allocations: 20.48 kB / 1.63 GB, free: 75.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0011/3.522, allocations: 0.7488 MB / 1.63 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/3.522, allocations: 0 / 1.63 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001789/3.524, allocations: 0.6193 MB / 1.631 GB, free: 75.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 () * 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.004721/3.529, allocations: 3.022 MB / 1.634 GB, free: 73.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003031/3.532, allocations: 1.165 MB / 1.635 GB, free: 73.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/3.532, allocations: 0 / 1.635 GB, free: 73.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008549/3.533, allocations: 375.3 kB / 1.635 GB, free: 73.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/3.535, allocations: 0.4906 MB / 1.636 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/3.55, allocations: 9.723 MB / 1.645 GB, free: 68.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/3.55, allocations: 1.083 MB / 1.646 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001074/3.551, allocations: 220 kB / 1.647 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/3.552, allocations: 409.3 kB / 1.647 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of SimCode: time 9.057e-06/3.552, allocations: 0 / 1.647 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05541/3.607, allocations: 38.21 MB / 1.684 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/3.607, allocations: 230.8 kB / 1.684 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/6.996, allocations: 4.062 kB / 1.684 GB, free: 44.83 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)