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.001479/0.001479, allocations: 174.5 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.7272/0.7272, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.692/1.692, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009886/0.0009887, allocations: 95.88 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.197e-05, allocations: 4.469 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2012, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.66, allocations: 397.4 MB / 1.029 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.661, allocations: 95.12 kB / 1.029 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.254/3.915, allocations: 0.5609 GB / 1.59 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.724e-06/3.915, allocations: 3.219 kB / 1.59 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003195/3.915, allocations: 46.28 kB / 1.59 GB, free: 101.6 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.005864/3.921, allocations: 1.981 MB / 1.592 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/3.921, allocations: 11.81 kB / 1.592 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002981/3.921, allocations: 196.8 kB / 1.592 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/3.926, allocations: 0.6927 MB / 1.592 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/3.93, allocations: 1.86 MB / 1.594 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/3.93, allocations: 144.1 kB / 1.594 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/3.93, allocations: 135.2 kB / 1.595 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/3.932, allocations: 1.641 MB / 1.596 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/3.932, allocations: 0 / 1.596 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/3.933, allocations: 58.06 kB / 1.596 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/3.933, allocations: 54.31 kB / 1.596 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/3.935, allocations: 1.243 MB / 1.597 GB, free: 99.82 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.01073/3.945, allocations: 7.394 MB / 1.605 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/3.947, allocations: 0.6874 MB / 1.605 GB, free: 96.74 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/3.947, allocations: 401.1 kB / 1.606 GB, free: 96.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/3.948, allocations: 1.271 MB / 1.607 GB, free: 95.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/3.949, allocations: 50.78 kB / 1.607 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 2.615e-06/3.949, allocations: 3.656 kB / 1.607 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.003473/3.952, allocations: 1.01 MB / 1.608 GB, free: 95.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/3.952, allocations: 191.4 kB / 1.608 GB, free: 94.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/3.954, allocations: 1.284 MB / 1.609 GB, free: 94.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/3.954, allocations: 56.39 kB / 1.61 GB, free: 94.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/3.954, allocations: 0.7656 MB / 1.61 GB, free: 94.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/3.955, allocations: 265.8 kB / 1.611 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/3.955, allocations: 18.56 kB / 1.611 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/3.955, allocations: 346.2 kB / 1.611 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/3.955, allocations: 369.8 kB / 1.611 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000792/3.956, allocations: 0.6653 MB / 1.612 GB, free: 93.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/3.957, allocations: 418.6 kB / 1.612 GB, free: 93.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/3.957, allocations: 3.531 kB / 1.612 GB, free: 93.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003467/3.96, allocations: 1.336 MB / 1.614 GB, free: 93.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004741/3.961, allocations: 2.504 MB / 1.616 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/3.961, allocations: 7.75 kB / 1.616 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/3.962, allocations: 422.2 kB / 1.616 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/3.963, allocations: 272.7 kB / 1.617 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008929/3.964, allocations: 0.9011 MB / 1.618 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/3.967, allocations: 305.3 kB / 1.618 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/3.967, allocations: 57.47 kB / 1.618 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/3.967, allocations: 4.844 kB / 1.618 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00319/3.97, allocations: 1.159 MB / 1.619 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/3.97, allocations: 3.781 kB / 1.619 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/3.971, allocations: 430.6 kB / 1.619 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/3.973, allocations: 268.5 kB / 1.62 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007983/3.973, allocations: 0.9086 MB / 1.621 GB, free: 89.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/3.976, allocations: 257.2 kB / 1.621 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/3.976, allocations: 64.12 kB / 1.621 GB, free: 89.61 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.0003716/3.976, allocations: 170 kB / 1.621 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/3.977, allocations: 164.4 kB / 1.621 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/3.98, allocations: 1.117 MB / 1.622 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/3.98, allocations: 9.766 kB / 1.622 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/3.98, allocations: 0 / 1.622 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002645/3.983, allocations: 0.9621 MB / 1.623 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006546/3.989, allocations: 3.009 MB / 1.626 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/3.989, allocations: 4.812 kB / 1.626 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/3.99, allocations: 182.6 kB / 1.626 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/3.991, allocations: 409.6 kB / 1.627 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/3.992, allocations: 29.8 kB / 1.627 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008488/3.992, allocations: 0.8997 MB / 1.628 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/3.992, allocations: 4.875 kB / 1.628 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009879/4.002, allocations: 2.438 MB / 1.63 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/4.003, allocations: 412 kB / 1.63 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005937/4.004, allocations: 31.78 kB / 1.63 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/4.006, allocations: 175.5 kB / 1.631 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/4.006, allocations: 75.47 kB / 1.631 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/4.007, allocations: 53.98 kB / 1.631 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002033/4.009, allocations: 1.009 MB / 1.632 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/4.009, allocations: 0 / 1.632 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004234/4.013, allocations: 1.041 MB / 1.633 GB, free: 85.69 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.01276/4.026, allocations: 4.688 MB / 1.637 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003066/4.029, allocations: 1.523 MB / 1.639 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/4.029, allocations: 3.625 kB / 1.639 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008522/4.03, allocations: 498.9 kB / 1.639 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/4.034, allocations: 0.7887 MB / 1.64 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/4.041, allocations: 2.547 MB / 1.643 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/4.042, allocations: 1.295 MB / 1.644 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00255/4.045, allocations: 492.5 kB / 1.644 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/4.046, allocations: 0.6176 MB / 1.645 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/4.046, allocations: 0 / 1.645 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/4.151, allocations: 60.09 MB / 1.704 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/4.151, allocations: 240.9 kB / 1.704 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.117/8.268, allocations: 0 / 1.704 GB, free: 43.09 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)