Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IDEAS_dev_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.01367/0.01367, allocations: 170.6 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 1.13/1.13, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.353/2.353, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001906/0.001906, allocations: 109.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007011/0.0007014, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7721, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.995, allocations: 397.5 MB / 1.038 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000435/1.995, allocations: 94.08 kB / 1.038 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.194/6.189, allocations: 0.5626 GB / 1.6 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.32e-06/6.189, allocations: 0 / 1.6 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000302/6.189, allocations: 52.3 kB / 1.6 GB, free: 97.77 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.01062/6.2, allocations: 2.266 MB / 1.603 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.707e-05/6.2, allocations: 7.156 kB / 1.603 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001021/6.201, allocations: 206.8 kB / 1.603 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007448/6.208, allocations: 0.6877 MB / 1.604 GB, free: 96.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00817/6.217, allocations: 1.881 MB / 1.605 GB, free: 96.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/6.217, allocations: 141.9 kB / 1.606 GB, free: 96.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/6.218, allocations: 134.5 kB / 1.606 GB, free: 96.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/6.225, allocations: 1.813 MB / 1.607 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/6.225, allocations: 3.406 kB / 1.607 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/6.225, allocations: 60 kB / 1.607 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/6.225, allocations: 62.59 kB / 1.608 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008225/6.234, allocations: 1.576 MB / 1.609 GB, free: 96.16 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.01947/6.253, allocations: 7.38 MB / 1.616 GB, free: 93.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/6.257, allocations: 0.8396 MB / 1.617 GB, free: 93.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/6.259, allocations: 1.269 MB / 1.618 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/6.259, allocations: 47.5 kB / 1.618 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 5.801e-06/6.259, allocations: 0 / 1.618 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.03958/6.298, allocations: 3.67 MB / 1.622 GB, free: 91.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/6.299, allocations: 194 kB / 1.622 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/6.303, allocations: 1.328 MB / 1.623 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005057/6.303, allocations: 52.89 kB / 1.623 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/6.304, allocations: 0.761 MB / 1.624 GB, free: 90.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007018/6.305, allocations: 266.1 kB / 1.624 GB, free: 90.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/6.305, allocations: 23.38 kB / 1.625 GB, free: 90.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000189/6.306, allocations: 338.3 kB / 1.625 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/6.309, allocations: 0.5298 MB / 1.625 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/6.312, allocations: 0.8365 MB / 1.626 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/6.316, allocations: 0.5736 MB / 1.627 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/6.316, allocations: 6.594 kB / 1.627 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01101/6.327, allocations: 1.7 MB / 1.628 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/6.329, allocations: 2.507 MB / 1.631 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/6.329, allocations: 6.969 kB / 1.631 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/6.331, allocations: 492.7 kB / 1.631 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/6.334, allocations: 267.1 kB / 1.632 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/6.336, allocations: 1.003 MB / 1.633 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004975/6.341, allocations: 296.4 kB / 1.633 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/6.342, allocations: 63.75 kB / 1.633 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/6.342, allocations: 4.594 kB / 1.633 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009729/6.351, allocations: 1.53 MB / 1.634 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/6.352, allocations: 6.375 kB / 1.634 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/6.354, allocations: 486.2 kB / 1.635 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/6.356, allocations: 273.4 kB / 1.635 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/6.359, allocations: 0.9914 MB / 1.636 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/6.364, allocations: 257.1 kB / 1.636 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004096/6.364, allocations: 57.97 kB / 1.636 GB, free: 85.95 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.002261/6.366, allocations: 481.9 kB / 1.637 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/6.367, allocations: 160.8 kB / 1.637 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/6.378, allocations: 1.423 MB / 1.638 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/6.378, allocations: 13.92 kB / 1.638 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/6.378, allocations: 3.953 kB / 1.638 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009233/6.387, allocations: 1.262 MB / 1.64 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/6.407, allocations: 3.314 MB / 1.643 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/6.408, allocations: 6.156 kB / 1.643 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/6.41, allocations: 176.4 kB / 1.643 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/6.413, allocations: 478.4 kB / 1.644 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/6.413, allocations: 35.16 kB / 1.644 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/6.416, allocations: 0.994 MB / 1.645 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/6.416, allocations: 3.219 kB / 1.645 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02367/6.439, allocations: 2.866 MB / 1.647 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/6.442, allocations: 423.4 kB / 1.648 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008095/6.443, allocations: 24.53 kB / 1.648 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/6.446, allocations: 171.3 kB / 1.648 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/6.446, allocations: 84.73 kB / 1.648 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/6.446, allocations: 48.5 kB / 1.648 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002967/6.449, allocations: 1.054 MB / 1.649 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/6.449, allocations: 1.75 kB / 1.649 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006525/6.456, allocations: 1.039 MB / 1.65 GB, free: 83.19 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.02702/6.483, allocations: 5.114 MB / 1.655 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01118/6.494, allocations: 1.932 MB / 1.657 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.263e-05/6.494, allocations: 3.656 kB / 1.657 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003229/6.498, allocations: 0.6204 MB / 1.658 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006939/6.505, allocations: 0.7903 MB / 1.658 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04615/6.551, allocations: 14.48 MB / 1.672 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/6.552, allocations: 1.294 MB / 1.674 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00357/6.556, allocations: 393.9 kB / 1.674 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/6.557, allocations: 0.6477 MB / 1.675 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/6.557, allocations: 2.875 kB / 1.675 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/6.728, allocations: 57.7 MB / 1.731 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/6.729, allocations: 274.5 kB / 1.731 GB, free: 69.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/13.87, allocations: 0 / 1.731 GB, free: 69.12 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)