Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",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.007855/0.007855, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.69 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.000389, allocations: 11.98 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4622, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7992/1.261, allocations: 397.5 MB / 1.038 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/1.262, allocations: 91.45 kB / 1.038 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.153/3.415, allocations: 0.5626 GB / 1.6 GB, free: 97.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/3.415, allocations: 0 / 1.6 GB, free: 97.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001925/3.415, allocations: 48.05 kB / 1.6 GB, free: 97.39 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00631/3.422, allocations: 2.264 MB / 1.603 GB, free: 96.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/3.422, allocations: 9.344 kB / 1.603 GB, free: 96.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005286/3.422, allocations: 206.4 kB / 1.603 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005292/3.428, allocations: 0.689 MB / 1.604 GB, free: 96.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/3.432, allocations: 1.873 MB / 1.605 GB, free: 96.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/3.432, allocations: 144.7 kB / 1.606 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/3.432, allocations: 137.6 kB / 1.606 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/3.437, allocations: 1.81 MB / 1.607 GB, free: 95.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/3.437, allocations: 5.625 kB / 1.607 GB, free: 95.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/3.437, allocations: 60.78 kB / 1.607 GB, free: 95.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/3.437, allocations: 64.31 kB / 1.608 GB, free: 95.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0048/3.442, allocations: 1.577 MB / 1.609 GB, free: 95.77 MB / 0.6823 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.0112/3.453, allocations: 7.385 MB / 1.616 GB, free: 92.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/3.455, allocations: 0.8321 MB / 1.617 GB, free: 92.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/3.456, allocations: 1.27 MB / 1.618 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/3.456, allocations: 48.53 kB / 1.618 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.096e-06/3.456, allocations: 0 / 1.618 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.02511/3.482, allocations: 3.668 MB / 1.622 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/3.482, allocations: 201.5 kB / 1.622 GB, free: 90.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/3.484, allocations: 1.32 MB / 1.623 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/3.484, allocations: 51.98 kB / 1.623 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/3.485, allocations: 0.7646 MB / 1.624 GB, free: 90.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/3.485, allocations: 266.1 kB / 1.624 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/3.485, allocations: 19.69 kB / 1.625 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/3.485, allocations: 341.5 kB / 1.625 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/3.487, allocations: 0.5328 MB / 1.625 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/3.489, allocations: 0.8349 MB / 1.626 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/3.491, allocations: 0.5735 MB / 1.627 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/3.491, allocations: 2.844 kB / 1.627 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006823/3.498, allocations: 1.698 MB / 1.628 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004416/3.499, allocations: 2.507 MB / 1.631 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/3.499, allocations: 6.281 kB / 1.631 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/3.5, allocations: 489.9 kB / 1.631 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/3.502, allocations: 274.2 kB / 1.632 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/3.503, allocations: 0.9939 MB / 1.633 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/3.506, allocations: 304.6 kB / 1.633 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/3.507, allocations: 60.89 kB / 1.633 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/3.507, allocations: 10.06 kB / 1.633 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006706/3.513, allocations: 1.528 MB / 1.634 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/3.514, allocations: 6.625 kB / 1.634 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/3.515, allocations: 489.4 kB / 1.635 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/3.517, allocations: 272.8 kB / 1.635 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/3.518, allocations: 0.9903 MB / 1.636 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/3.521, allocations: 264.7 kB / 1.636 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/3.521, allocations: 59.27 kB / 1.636 GB, free: 85.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.001106/3.522, allocations: 486.9 kB / 1.637 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/3.523, allocations: 156.2 kB / 1.637 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00599/3.529, allocations: 1.414 MB / 1.638 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/3.529, allocations: 7.062 kB / 1.638 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/3.529, allocations: 3.953 kB / 1.638 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005205/3.534, allocations: 1.265 MB / 1.64 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009527/3.543, allocations: 3.321 MB / 1.643 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/3.543, allocations: 3.156 kB / 1.643 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/3.545, allocations: 171.8 kB / 1.643 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/3.546, allocations: 483.5 kB / 1.644 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/3.546, allocations: 29.33 kB / 1.644 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/3.548, allocations: 0.9929 MB / 1.645 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/3.548, allocations: 10.47 kB / 1.645 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/3.562, allocations: 2.866 MB / 1.647 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/3.563, allocations: 426.1 kB / 1.648 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/3.564, allocations: 24.84 kB / 1.648 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/3.565, allocations: 169 kB / 1.648 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/3.566, allocations: 86.42 kB / 1.648 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/3.566, allocations: 43.84 kB / 1.648 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00155/3.567, allocations: 1.056 MB / 1.649 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/3.567, allocations: 2.219 kB / 1.649 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003029/3.57, allocations: 1.038 MB / 1.65 GB, free: 82.82 MB / 0.6823 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: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0155/3.586, allocations: 5.115 MB / 1.655 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006526/3.592, allocations: 1.925 MB / 1.657 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/3.592, allocations: 0 / 1.657 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/3.594, allocations: 0.6216 MB / 1.658 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/3.598, allocations: 0.7885 MB / 1.658 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/3.623, allocations: 14.49 MB / 1.672 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/3.624, allocations: 1.295 MB / 1.674 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002151/3.626, allocations: 392.4 kB / 1.674 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007948/3.627, allocations: 0.6448 MB / 1.675 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/3.627, allocations: 0 / 1.675 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06927/3.696, allocations: 57.69 MB / 1.731 GB, free: 69.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/3.696, allocations: 266.1 kB / 1.731 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.016/7.713, allocations: 0 / 1.731 GB, free: 68.79 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)