Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.467/2.467, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.231/1.231, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005722/0.0005723, allocations: 11.98 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7475, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.08479/0.8324, allocations: 62.95 MB / 0.6444 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02052/0.853, allocations: 12.97 MB / 0.6571 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003083/0.8561, allocations: 55.62 kB / 0.6572 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.8596, allocations: 0.7423 MB / 0.6579 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.8718, allocations: 2.409 MB / 0.6602 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008549/0.8803, allocations: 1.517 MB / 0.6617 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009646/0.89, allocations: 2.514 MB / 0.6642 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/0.8937, allocations: 1.049 MB / 0.6652 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.8974, allocations: 1.172 MB / 0.6663 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.8998, allocations: 0.7972 MB / 0.6671 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.9003, allocations: 56 kB / 0.6672 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004226/0.9046, allocations: 0.8308 MB / 0.668 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000848/0.9055, allocations: 262.9 kB / 0.6682 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.9072, allocations: 356.9 kB / 0.6686 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005353/0.9126, allocations: 2.022 MB / 0.6706 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9126, allocations: 0 / 0.6706 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.21e-06/0.9126, allocations: 0 / 0.6706 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001144/0.9127, allocations: 3.938 kB / 0.6706 GB, free: 6.695 MB / 0.4981 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.005121/0.9179, allocations: 1.787 MB / 0.6723 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.9179, allocations: 8.031 kB / 0.6723 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004513/0.9184, allocations: 147.9 kB / 0.6725 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.9196, allocations: 245.8 kB / 0.6727 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/0.9229, allocations: 1.381 MB / 0.674 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/0.923, allocations: 78 kB / 0.6741 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.9233, allocations: 104 kB / 0.6742 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.9259, allocations: 1.1 MB / 0.6753 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.9259, allocations: 11.94 kB / 0.6753 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.926, allocations: 36 kB / 0.6753 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/0.9261, allocations: 24 kB / 0.6754 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.9283, allocations: 0.929 MB / 0.6763 GB, free: 0.6914 MB / 0.4981 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.007961/0.9362, allocations: 4.962 MB / 0.6811 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.9378, allocations: 0.6322 MB / 0.6817 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.9386, allocations: 0.8199 MB / 0.6825 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.9386, allocations: 47.06 kB / 0.6826 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 5.109e-06/0.9386, allocations: 7.984 kB / 0.6826 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007661/0.9463, allocations: 1.889 MB / 0.6844 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.9464, allocations: 59.97 kB / 0.6845 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.9487, allocations: 1.257 MB / 0.6857 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.9488, allocations: 45.7 kB / 0.6857 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/0.9495, allocations: 0.5987 MB / 0.6863 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.9499, allocations: 212.9 kB / 0.6865 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.9499, allocations: 12 kB / 0.6865 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.9501, allocations: 330 kB / 0.6869 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.9509, allocations: 297.8 kB / 0.6871 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009429/0.9518, allocations: 0.5061 MB / 0.6876 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008411/0.9527, allocations: 355 kB / 0.688 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.9527, allocations: 0 / 0.688 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005109/0.9578, allocations: 1.398 MB / 0.6893 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006565/0.9585, allocations: 1.427 MB / 0.6907 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.9585, allocations: 4 kB / 0.6907 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006958/0.9592, allocations: 152.6 kB / 0.6909 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.9599, allocations: 163.8 kB / 0.691 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009621/0.9609, allocations: 0.7162 MB / 0.6917 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.9624, allocations: 167 kB / 0.6919 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9625, allocations: 31.98 kB / 0.6919 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.9625, allocations: 8 kB / 0.6919 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004561/0.9671, allocations: 1.253 MB / 0.6932 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.9671, allocations: 7.984 kB / 0.6932 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005648/0.9677, allocations: 152.8 kB / 0.6933 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.9683, allocations: 163.8 kB / 0.6935 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/0.9692, allocations: 0.7201 MB / 0.6942 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9707, allocations: 163 kB / 0.6943 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.9708, allocations: 35.92 kB / 0.6944 GB, free: 13.36 MB / 0.5294 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 (78): * Single equations (assignments): 77 * 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.0008657/0.9717, allocations: 424.8 kB / 0.6948 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.9721, allocations: 134.4 kB / 0.6949 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/0.977, allocations: 1.392 MB / 0.6963 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.977, allocations: 4 kB / 0.6963 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.977, allocations: 4 kB / 0.6963 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004264/0.9813, allocations: 1.236 MB / 0.6975 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007629/0.9889, allocations: 2.754 MB / 0.7002 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.989, allocations: 4 kB / 0.7002 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.9895, allocations: 124.2 kB / 0.7003 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.99, allocations: 136.7 kB / 0.7004 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.9901, allocations: 19.98 kB / 0.7004 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005378/0.9955, allocations: 2.552 MB / 0.7029 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9955, allocations: 4 kB / 0.7029 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005873/1.001, allocations: 2.062 MB / 0.7049 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.002, allocations: 343.1 kB / 0.7053 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/1.003, allocations: 19.98 kB / 0.7053 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.004, allocations: 98.59 kB / 0.7054 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/1.004, allocations: 52.33 kB / 0.7054 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/1.004, allocations: 43.91 kB / 0.7055 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001847/1.006, allocations: 0.8974 MB / 0.7064 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/1.006, allocations: 0 / 0.7064 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002859/1.009, allocations: 0.7251 MB / 0.7071 GB, free: 15.79 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.007645/1.017, allocations: 3.855 MB / 0.7108 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003027/1.02, allocations: 1.157 MB / 0.712 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.02, allocations: 4.188 kB / 0.712 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/1.022, allocations: 0.5953 MB / 0.7125 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/1.026, allocations: 0.7498 MB / 0.7133 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/1.035, allocations: 5.932 MB / 0.7191 GB, free: 3.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.036, allocations: 1.206 MB / 0.7202 GB, free: 1.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001628/1.037, allocations: 310.8 kB / 0.7205 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/1.038, allocations: 0.5071 MB / 0.721 GB, free: 1.176 MB / 0.545 GB Notification: Performance of SimCode: time 1.543e-06/1.038, allocations: 4 kB / 0.721 GB, free: 1.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/2.076, allocations: 41.99 MB / 0.762 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/2.077, allocations: 233.8 kB / 0.7623 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.286/7.363, allocations: 0 / 0.7623 GB, free: 7.473 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: