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.001942/0.001942, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8073/0.8073, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.626/1.626, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.00143, allocations: 90.08 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.487e-05/5.498e-05, allocations: 3.375 kB / 0.5601 GB, free: 87.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2046, allocations: 82.31 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.411/1.616, allocations: 397.4 MB / 1.029 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.616, allocations: 88.45 kB / 1.029 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.169/3.785, allocations: 0.5609 GB / 1.59 GB, free: 102 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/3.785, allocations: 3.375 kB / 1.59 GB, free: 102 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002959/3.785, allocations: 46.2 kB / 1.59 GB, free: 102 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.006193/3.791, allocations: 1.979 MB / 1.592 GB, free: 101 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/3.791, allocations: 11.19 kB / 1.592 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007553/3.792, allocations: 201.9 kB / 1.592 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005368/3.797, allocations: 0.6863 MB / 1.592 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005371/3.803, allocations: 1.873 MB / 1.594 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/3.803, allocations: 144.6 kB / 1.594 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005898/3.804, allocations: 134.4 kB / 1.595 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004525/3.808, allocations: 1.632 MB / 1.596 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/3.808, allocations: 5.875 kB / 1.596 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/3.809, allocations: 56.81 kB / 1.596 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.559e-05/3.809, allocations: 58.56 kB / 1.596 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/3.811, allocations: 1.243 MB / 1.597 GB, free: 100.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.0128/3.824, allocations: 7.384 MB / 1.605 GB, free: 97.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/3.825, allocations: 0.6907 MB / 1.605 GB, free: 97.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/3.826, allocations: 397.2 kB / 1.606 GB, free: 97.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/3.828, allocations: 1.27 MB / 1.607 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/3.828, allocations: 54.19 kB / 1.607 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 2.524e-06/3.828, allocations: 2.656 kB / 1.607 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.003927/3.832, allocations: 1.018 MB / 1.608 GB, free: 95.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/3.832, allocations: 187.1 kB / 1.608 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/3.835, allocations: 1.282 MB / 1.609 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002413/3.835, allocations: 54.97 kB / 1.61 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009148/3.836, allocations: 0.7637 MB / 1.61 GB, free: 94.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/3.836, allocations: 268.5 kB / 1.611 GB, free: 94.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/3.836, allocations: 18.38 kB / 1.611 GB, free: 94.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001281/3.837, allocations: 345.4 kB / 1.611 GB, free: 94.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/3.837, allocations: 369.6 kB / 1.611 GB, free: 94.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/3.838, allocations: 0.6704 MB / 1.612 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/3.839, allocations: 416.5 kB / 1.612 GB, free: 93.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/3.839, allocations: 5.938 kB / 1.612 GB, free: 93.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004109/3.843, allocations: 1.329 MB / 1.614 GB, free: 93.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000593/3.844, allocations: 2.508 MB / 1.616 GB, free: 91.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/3.844, allocations: 6.125 kB / 1.616 GB, free: 91.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/3.845, allocations: 424.5 kB / 1.616 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/3.847, allocations: 277.2 kB / 1.617 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009067/3.848, allocations: 0.8947 MB / 1.618 GB, free: 90.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/3.85, allocations: 302.9 kB / 1.618 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/3.851, allocations: 62.89 kB / 1.618 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/3.851, allocations: 3.688 kB / 1.618 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003485/3.854, allocations: 1.17 MB / 1.619 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/3.854, allocations: 7.906 kB / 1.619 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/3.855, allocations: 418.8 kB / 1.619 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/3.857, allocations: 268.4 kB / 1.62 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008794/3.858, allocations: 0.9084 MB / 1.621 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/3.86, allocations: 263.3 kB / 1.621 GB, free: 89.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/3.86, allocations: 59.92 kB / 1.621 GB, free: 89.93 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 () * 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.0004597/3.861, allocations: 167.1 kB / 1.621 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/3.862, allocations: 163.1 kB / 1.621 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/3.865, allocations: 1.119 MB / 1.622 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/3.865, allocations: 8.719 kB / 1.622 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/3.865, allocations: 0 / 1.622 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002839/3.868, allocations: 0.9628 MB / 1.623 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/3.876, allocations: 3.01 MB / 1.626 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/3.876, allocations: 7.828 kB / 1.626 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/3.877, allocations: 177.5 kB / 1.626 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/3.878, allocations: 410.1 kB / 1.627 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/3.878, allocations: 31.58 kB / 1.627 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00086/3.879, allocations: 0.9004 MB / 1.628 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/3.879, allocations: 9.156 kB / 1.628 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/3.89, allocations: 2.432 MB / 1.63 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/3.891, allocations: 418 kB / 1.63 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006417/3.892, allocations: 26.17 kB / 1.63 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/3.894, allocations: 172.7 kB / 1.631 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/3.894, allocations: 82.56 kB / 1.631 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/3.895, allocations: 47.72 kB / 1.631 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002357/3.897, allocations: 1.014 MB / 1.632 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/3.897, allocations: 0 / 1.632 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004465/3.901, allocations: 1.048 MB / 1.633 GB, free: 85.8 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) * 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.01301/3.914, allocations: 4.665 MB / 1.637 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003433/3.918, allocations: 1.523 MB / 1.639 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/3.918, allocations: 5.656 kB / 1.639 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009463/3.919, allocations: 0.4891 MB / 1.639 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/3.923, allocations: 0.7877 MB / 1.64 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/3.931, allocations: 2.55 MB / 1.643 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/3.932, allocations: 1.301 MB / 1.644 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002975/3.935, allocations: 485.8 kB / 1.644 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009035/3.936, allocations: 0.6196 MB / 1.645 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.783e-06/3.936, allocations: 0 / 1.645 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/4.038, allocations: 60.08 MB / 1.704 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/4.038, allocations: 232.6 kB / 1.704 GB, free: 43.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.999/8.037, allocations: 0 / 1.704 GB, free: 43.13 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)