Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_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.0009957/0.0009955, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001225/0.001225, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9114/0.9114, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8.875 kB / 0.5071 GB, free: 4.98 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 82.31 MB / 0.5875 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3311/0.48, allocations: 69.4 MB / 0.6552 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.497, allocations: 14.16 MB / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.4994, allocations: 57.25 kB / 0.6691 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.5014, allocations: 0.5688 MB / 0.6697 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.5085, allocations: 1.984 MB / 0.6716 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.5123, allocations: 0.9647 MB / 0.6726 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009014/0.5213, allocations: 4.812 MB / 0.6773 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00308/0.5244, allocations: 1.024 MB / 0.6783 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/0.5288, allocations: 1.285 MB / 0.6795 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003561/0.5324, allocations: 1.084 MB / 0.6806 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007449/0.5331, allocations: 55.81 kB / 0.6806 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00436/0.5375, allocations: 0.9245 MB / 0.6815 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009072/0.5385, allocations: 271.2 kB / 0.6818 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.5398, allocations: 356.2 kB / 0.6821 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.5449, allocations: 2.083 MB / 0.6842 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.545, allocations: 0 / 0.6842 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.345e-06/0.545, allocations: 0 / 0.6842 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.271e-05/0.5451, allocations: 1.094 kB / 0.6842 GB, free: 10.32 MB / 0.5137 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.004946/0.55, allocations: 1.795 MB / 0.6859 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5501, allocations: 9.625 kB / 0.6859 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003637/0.5505, allocations: 156.2 kB / 0.6861 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009138/0.5514, allocations: 240.9 kB / 0.6863 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.5546, allocations: 1.461 MB / 0.6877 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.5547, allocations: 76.69 kB / 0.6878 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5549, allocations: 102 kB / 0.6879 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.5573, allocations: 1.117 MB / 0.689 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.5574, allocations: 1.312 kB / 0.689 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.5575, allocations: 41.11 kB / 0.689 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.5575, allocations: 24.89 kB / 0.6891 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.5596, allocations: 0.9278 MB / 0.69 GB, free: 7.164 MB / 0.5137 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.007103/0.5667, allocations: 4.911 MB / 0.6948 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.5682, allocations: 0.6366 MB / 0.6954 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.569, allocations: 366.4 kB / 0.6957 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.5697, allocations: 0.8252 MB / 0.6965 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.5697, allocations: 38.83 kB / 0.6966 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.464e-06/0.5698, allocations: 0 / 0.6966 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007354/0.5771, allocations: 1.897 MB / 0.6984 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.5772, allocations: 57.81 kB / 0.6985 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.5794, allocations: 1.206 MB / 0.6997 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.5796, allocations: 43.05 kB / 0.6997 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/0.5802, allocations: 0.6108 MB / 0.7003 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.5805, allocations: 207.6 kB / 0.7005 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.5805, allocations: 14.62 kB / 0.7005 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5807, allocations: 333.9 kB / 0.7008 GB, free: 284 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.5814, allocations: 300.2 kB / 0.7011 GB, free: 188 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008889/0.5823, allocations: 0.4984 MB / 0.7016 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007791/0.5831, allocations: 364.5 kB / 0.702 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5831, allocations: 0 / 0.702 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005164/0.5883, allocations: 1.4 MB / 0.7033 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.5884, allocations: 188.4 kB / 0.7035 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5885, allocations: 7.656 kB / 0.7035 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/0.5891, allocations: 143 kB / 0.7036 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.5898, allocations: 173.2 kB / 0.7038 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000901/0.5907, allocations: 0.7167 MB / 0.7045 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.5926, allocations: 167.3 kB / 0.7047 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.5927, allocations: 35.83 kB / 0.7047 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5927, allocations: 4.344 kB / 0.7047 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004506/0.5973, allocations: 1.243 MB / 0.7059 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.5973, allocations: 4.281 kB / 0.7059 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005543/0.5978, allocations: 158.6 kB / 0.7061 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.5985, allocations: 167.4 kB / 0.7062 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008895/0.5994, allocations: 0.7119 MB / 0.7069 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.6012, allocations: 169.8 kB / 0.7071 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.6013, allocations: 26.91 kB / 0.7071 GB, free: 12.52 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.001082/0.6024, allocations: 419.2 kB / 0.7075 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/0.603, allocations: 132.1 kB / 0.7076 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/0.6082, allocations: 1.404 MB / 0.709 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.6082, allocations: 10.64 kB / 0.709 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6083, allocations: 1.406 kB / 0.709 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004061/0.6123, allocations: 1.226 MB / 0.7102 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.6201, allocations: 2.743 MB / 0.7129 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.6201, allocations: 3.344 kB / 0.7129 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.6206, allocations: 122.1 kB / 0.713 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.6211, allocations: 136.5 kB / 0.7131 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.6212, allocations: 22.33 kB / 0.7132 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.6259, allocations: 2.479 MB / 0.7156 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.6259, allocations: 11.2 kB / 0.7156 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00524/0.6312, allocations: 1.851 MB / 0.7174 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.6322, allocations: 332.8 kB / 0.7177 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/0.6326, allocations: 17.45 kB / 0.7177 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.6339, allocations: 95.56 kB / 0.7178 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.6341, allocations: 55.47 kB / 0.7179 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.6342, allocations: 33.69 kB / 0.7179 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001599/0.6358, allocations: 0.8624 MB / 0.7188 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6358, allocations: 0 / 0.7188 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002748/0.6386, allocations: 0.7066 MB / 0.7195 GB, free: 4.191 MB / 0.5294 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.006544/0.6451, allocations: 2.709 MB / 0.7221 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002778/0.6479, allocations: 1.156 MB / 0.7232 GB, free: 276 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.648, allocations: 4 kB / 0.7232 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.6495, allocations: 0.6033 MB / 0.7238 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005443/0.6549, allocations: 0.7483 MB / 0.7246 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/0.6809, allocations: 8.374 MB / 0.7327 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.682, allocations: 1.175 MB / 0.7339 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001924/0.684, allocations: 307 kB / 0.7342 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/0.6849, allocations: 0.5148 MB / 0.7347 GB, free: 4.125 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/0.6849, allocations: 0 / 0.7347 GB, free: 4.125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.09/2.775, allocations: 42.1 MB / 0.7758 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/2.776, allocations: 231.2 kB / 0.776 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.295/7.071, allocations: 3.938 kB / 0.776 GB, free: 10.27 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: