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.001391/0.001391, allocations: 174.6 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8021/0.8021, allocations: 133.6 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 395.4 MB, free: 10.85 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.0009654/0.0009654, allocations: 106.7 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.24e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5323, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9148/1.447, allocations: 396.8 MB / 1.021 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.447, allocations: 90.75 kB / 1.021 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.062/3.509, allocations: 0.5582 GB / 1.58 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/3.509, allocations: 0 / 1.58 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003126/3.509, allocations: 51.98 kB / 1.58 GB, free: 19.66 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.006517/3.516, allocations: 1.984 MB / 1.582 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/3.516, allocations: 8.031 kB / 1.582 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/3.522, allocations: 0.6922 MB / 1.582 GB, free: 16.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/3.527, allocations: 1.857 MB / 1.584 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/3.527, allocations: 96.25 kB / 1.584 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/3.528, allocations: 80 kB / 1.584 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002988/3.531, allocations: 1.157 MB / 1.585 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/3.534, allocations: 1.446 MB / 1.587 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/3.534, allocations: 3.938 kB / 1.587 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/3.535, allocations: 7.953 kB / 1.587 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.72e-05/3.535, allocations: 50.52 kB / 1.587 GB, free: 12.05 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.01241/3.547, allocations: 7.094 MB / 1.594 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/3.548, allocations: 0.6542 MB / 1.594 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/3.549, allocations: 371.5 kB / 1.595 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/3.55, allocations: 1.271 MB / 1.596 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/3.55, allocations: 51.3 kB / 1.596 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.146e-06/3.55, allocations: 3.938 kB / 1.596 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004915/3.555, allocations: 1.07 MB / 1.597 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/3.555, allocations: 192.7 kB / 1.597 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4889/4.044, allocations: 1.028 MB / 1.598 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/4.045, allocations: 33.66 kB / 1.598 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008686/4.045, allocations: 0.7751 MB / 1.599 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/4.046, allocations: 256.6 kB / 1.599 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/4.046, allocations: 1.031 kB / 1.599 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/4.046, allocations: 342.4 kB / 1.6 GB, free: 96.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/4.047, allocations: 353 kB / 1.6 GB, free: 96.94 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/4.048, allocations: 0.6469 MB / 1.601 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/4.05, allocations: 0.5204 MB / 1.601 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/4.05, allocations: 2.406 kB / 1.601 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005783/4.056, allocations: 1.355 MB / 1.603 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005207/4.056, allocations: 2.478 MB / 1.605 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/4.056, allocations: 6.828 kB / 1.605 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/4.057, allocations: 365.8 kB / 1.605 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/4.059, allocations: 268.3 kB / 1.606 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/4.06, allocations: 0.9544 MB / 1.606 GB, free: 93.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/4.063, allocations: 253.5 kB / 1.607 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/4.063, allocations: 59.98 kB / 1.607 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/4.063, allocations: 3.562 kB / 1.607 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004864/4.068, allocations: 1.178 MB / 1.608 GB, free: 93.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/4.068, allocations: 7.875 kB / 1.608 GB, free: 93.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007784/4.069, allocations: 368.3 kB / 1.608 GB, free: 93.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/4.071, allocations: 273.1 kB / 1.609 GB, free: 93.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/4.072, allocations: 0.9542 MB / 1.609 GB, free: 92.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/4.074, allocations: 213.6 kB / 1.61 GB, free: 92.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/4.074, allocations: 63.16 kB / 1.61 GB, free: 92.82 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.0004037/4.075, allocations: 138 kB / 1.61 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004465/4.079, allocations: 1.069 MB / 1.611 GB, free: 92.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/4.08, allocations: 143.3 kB / 1.611 GB, free: 92.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/4.084, allocations: 1.151 MB / 1.612 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/4.084, allocations: 13.34 kB / 1.612 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/4.084, allocations: 0 / 1.612 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003846/4.088, allocations: 1.03 MB / 1.613 GB, free: 92.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009051/4.097, allocations: 2.881 MB / 1.616 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/4.097, allocations: 3.719 kB / 1.616 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/4.098, allocations: 175.3 kB / 1.616 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007423/4.099, allocations: 372 kB / 1.617 GB, free: 91.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/4.099, allocations: 16.34 kB / 1.617 GB, free: 91.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/4.1, allocations: 0.938 MB / 1.617 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/4.1, allocations: 7.344 kB / 1.617 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/4.112, allocations: 2.443 MB / 1.62 GB, free: 90.69 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/4.113, allocations: 401.7 kB / 1.62 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/4.114, allocations: 10.94 kB / 1.62 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/4.116, allocations: 156.1 kB / 1.62 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/4.116, allocations: 80.52 kB / 1.62 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/4.117, allocations: 48.09 kB / 1.621 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00167/4.118, allocations: 0.7772 MB / 1.621 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/4.118, allocations: 0 / 1.621 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005025/4.123, allocations: 1.023 MB / 1.622 GB, free: 90.35 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.01463/4.138, allocations: 4.71 MB / 1.627 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004201/4.142, allocations: 1.431 MB / 1.628 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/4.142, allocations: 0 / 1.628 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/4.143, allocations: 479.7 kB / 1.629 GB, free: 88.22 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/4.147, allocations: 0.5853 MB / 1.629 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/4.158, allocations: 2.434 MB / 1.632 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/4.159, allocations: 1.301 MB / 1.633 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003152/4.162, allocations: 428 kB / 1.633 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008984/4.163, allocations: 0.6054 MB / 1.634 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of SimCode: time 7.12e-07/4.163, allocations: 0 / 1.634 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09252/4.256, allocations: 48.71 MB / 1.682 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/4.256, allocations: 203.2 kB / 1.682 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.83/8.086, allocations: 3.938 kB / 1.682 GB, free: 84.55 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)