Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",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.001196/0.001195, allocations: 183.5 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.4922/0.4922, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.496/1.496, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.0008931/0.0008928, allocations: 104 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.214, allocations: 382.7 MB / 0.9427 GB, free: 84.33 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/1.214, allocations: 99.56 kB / 0.9428 GB, free: 84.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.186/3.401, allocations: 0.5683 GB / 1.511 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.936e-06/3.401, allocations: 0 / 1.511 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001757/3.401, allocations: 38.28 kB / 1.511 GB, free: 67.93 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005753/3.407, allocations: 2.011 MB / 1.513 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/3.407, allocations: 11.31 kB / 1.513 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002831/3.407, allocations: 148 kB / 1.513 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/3.408, allocations: 239.7 kB / 1.513 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/3.412, allocations: 1.729 MB / 1.515 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-05/3.412, allocations: 76.86 kB / 1.515 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/3.412, allocations: 103.3 kB / 1.515 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/3.415, allocations: 1.092 MB / 1.516 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/3.415, allocations: 4.938 kB / 1.516 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/3.415, allocations: 42.64 kB / 1.516 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/3.415, allocations: 45.92 kB / 1.516 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/3.417, allocations: 0.9074 MB / 1.517 GB, free: 66.67 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.0073/3.424, allocations: 4.715 MB / 1.522 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/3.426, allocations: 0.6116 MB / 1.523 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/3.427, allocations: 0.829 MB / 1.523 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/3.427, allocations: 43.36 kB / 1.523 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.545e-06/3.427, allocations: 2.953 kB / 1.523 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.007512/3.434, allocations: 1.846 MB / 1.525 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/3.434, allocations: 57.5 kB / 1.525 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/3.436, allocations: 1.11 MB / 1.526 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/3.436, allocations: 41.41 kB / 1.526 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/3.437, allocations: 0.6289 MB / 1.527 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/3.437, allocations: 207.7 kB / 1.527 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/3.437, allocations: 13.44 kB / 1.527 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/3.437, allocations: 330.9 kB / 1.528 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/3.438, allocations: 274.2 kB / 1.528 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/3.439, allocations: 0.5026 MB / 1.528 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/3.44, allocations: 334.5 kB / 1.529 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/3.44, allocations: 3.938 kB / 1.529 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004923/3.445, allocations: 1.347 MB / 1.53 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003447/3.445, allocations: 1.423 MB / 1.531 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/3.445, allocations: 6.906 kB / 1.531 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/3.446, allocations: 149.8 kB / 1.531 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/3.446, allocations: 155.3 kB / 1.532 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008065/3.447, allocations: 0.7152 MB / 1.532 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/3.449, allocations: 161.8 kB / 1.532 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/3.449, allocations: 35.06 kB / 1.532 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/3.449, allocations: 6.625 kB / 1.532 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004852/3.454, allocations: 1.19 MB / 1.534 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/3.454, allocations: 4.188 kB / 1.534 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/3.454, allocations: 149.6 kB / 1.534 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/3.455, allocations: 160.9 kB / 1.534 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007925/3.456, allocations: 0.7182 MB / 1.535 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/3.457, allocations: 149.3 kB / 1.535 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/3.457, allocations: 34.11 kB / 1.535 GB, free: 59.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 71 * 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 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001028/3.458, allocations: 421.2 kB / 1.535 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/3.459, allocations: 137.1 kB / 1.535 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/3.464, allocations: 1.329 MB / 1.537 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/3.464, allocations: 9.75 kB / 1.537 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/3.464, allocations: 0 / 1.537 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004613/3.468, allocations: 1.211 MB / 1.538 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007847/3.476, allocations: 2.676 MB / 1.54 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/3.476, allocations: 7.094 kB / 1.54 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/3.477, allocations: 120.2 kB / 1.541 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005946/3.477, allocations: 148 kB / 1.541 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/3.478, allocations: 15.19 kB / 1.541 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005122/3.483, allocations: 2.549 MB / 1.543 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/3.483, allocations: 3.938 kB / 1.543 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/3.489, allocations: 1.99 MB / 1.545 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/3.49, allocations: 333 kB / 1.545 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/3.49, allocations: 14.75 kB / 1.545 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/3.491, allocations: 88.59 kB / 1.546 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/3.492, allocations: 58.86 kB / 1.546 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/3.492, allocations: 30.53 kB / 1.546 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00162/3.493, allocations: 0.8955 MB / 1.547 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/3.493, allocations: 0 / 1.547 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002716/3.496, allocations: 0.7965 MB / 1.547 GB, free: 56.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006911/3.503, allocations: 4.014 MB / 1.551 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002783/3.506, allocations: 1.09 MB / 1.552 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/3.506, allocations: 1.688 kB / 1.552 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/3.507, allocations: 0.586 MB / 1.553 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/3.512, allocations: 0.7497 MB / 1.554 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/3.537, allocations: 10.61 MB / 1.564 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009782/3.538, allocations: 1.208 MB / 1.565 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00271/3.541, allocations: 310.4 kB / 1.565 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/3.542, allocations: 0.5131 MB / 1.566 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.004e-06/3.542, allocations: 0 / 1.566 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/3.637, allocations: 47.55 MB / 1.612 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/3.637, allocations: 241.4 kB / 1.613 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/7.317, allocations: 0 / 1.613 GB, free: 45.71 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)