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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 174.3 kB / 7.648 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.7999/0.7999, allocations: 133.6 MB / 141.6 MB, free: 2.934 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.521/1.521, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.000952/0.0009522, allocations: 93.08 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.798e-05, allocations: 4 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5302, allocations: 82.3 MB / 0.6338 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9504/1.481, allocations: 396.8 MB / 1.021 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.481, allocations: 86.89 kB / 1.021 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.045/3.526, allocations: 0.5582 GB / 1.58 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/3.526, allocations: 0 / 1.58 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001595/3.526, allocations: 47.94 kB / 1.58 GB, free: 20.03 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.004916/3.531, allocations: 1.986 MB / 1.582 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/3.531, allocations: 8.031 kB / 1.582 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/3.536, allocations: 0.688 MB / 1.582 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/3.54, allocations: 1.869 MB / 1.584 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/3.54, allocations: 96.31 kB / 1.584 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/3.541, allocations: 80 kB / 1.584 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002364/3.543, allocations: 1.145 MB / 1.585 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/3.546, allocations: 1.446 MB / 1.587 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/3.546, allocations: 4 kB / 1.587 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/3.546, allocations: 3.953 kB / 1.587 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/3.546, allocations: 62.44 kB / 1.587 GB, free: 12.42 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.01011/3.556, allocations: 7.083 MB / 1.594 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009631/3.557, allocations: 0.6534 MB / 1.594 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/3.557, allocations: 379.1 kB / 1.595 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/3.559, allocations: 1.271 MB / 1.596 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/3.559, allocations: 55.3 kB / 1.596 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.096e-06/3.559, allocations: 0 / 1.596 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004598/3.563, allocations: 1.07 MB / 1.597 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/3.563, allocations: 192.7 kB / 1.597 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/3.565, allocations: 1.037 MB / 1.598 GB, free: 36 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.5665/4.132, allocations: 31.84 kB / 1.598 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/4.133, allocations: 0.7668 MB / 1.599 GB, free: 97.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000492/4.134, allocations: 254.8 kB / 1.599 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/4.134, allocations: 0 / 1.599 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/4.134, allocations: 345.6 kB / 1.6 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/4.135, allocations: 350.5 kB / 1.6 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/4.136, allocations: 0.6464 MB / 1.601 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/4.138, allocations: 0.5151 MB / 1.601 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/4.138, allocations: 5.781 kB / 1.601 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00578/4.144, allocations: 1.354 MB / 1.602 GB, free: 96.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006215/4.144, allocations: 2.478 MB / 1.605 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/4.144, allocations: 6.625 kB / 1.605 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/4.145, allocations: 361.9 kB / 1.605 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/4.147, allocations: 274.4 kB / 1.605 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/4.149, allocations: 0.9509 MB / 1.606 GB, free: 93.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/4.152, allocations: 257.5 kB / 1.607 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/4.152, allocations: 60.95 kB / 1.607 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/4.152, allocations: 8.062 kB / 1.607 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004901/4.157, allocations: 1.181 MB / 1.608 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/4.157, allocations: 6.938 kB / 1.608 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008182/4.158, allocations: 366.1 kB / 1.608 GB, free: 93.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/4.159, allocations: 274.7 kB / 1.608 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/4.16, allocations: 0.9488 MB / 1.609 GB, free: 92.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/4.163, allocations: 215.3 kB / 1.61 GB, free: 92.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/4.163, allocations: 60.34 kB / 1.61 GB, free: 92.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 () * 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.0004264/4.163, allocations: 141 kB / 1.61 GB, free: 92.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/4.164, allocations: 134.6 kB / 1.61 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/4.168, allocations: 1.152 MB / 1.611 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/4.168, allocations: 7.562 kB / 1.611 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/4.168, allocations: 0 / 1.611 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003761/4.172, allocations: 1.032 MB / 1.612 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007914/4.18, allocations: 2.884 MB / 1.615 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/4.18, allocations: 9.922 kB / 1.615 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/4.181, allocations: 172.4 kB / 1.615 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006896/4.182, allocations: 355.3 kB / 1.615 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/4.182, allocations: 32 kB / 1.615 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/4.183, allocations: 0.9404 MB / 1.616 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/4.183, allocations: 6.969 kB / 1.616 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/4.194, allocations: 2.437 MB / 1.619 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/4.196, allocations: 396.5 kB / 1.619 GB, free: 90.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006088/4.196, allocations: 17.94 kB / 1.619 GB, free: 90.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/4.199, allocations: 153.8 kB / 1.619 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/4.199, allocations: 76.66 kB / 1.619 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/4.199, allocations: 51.55 kB / 1.619 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001716/4.201, allocations: 0.7798 MB / 1.62 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/4.201, allocations: 0 / 1.62 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004906/4.206, allocations: 1.026 MB / 1.621 GB, free: 90.24 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.00253/4.208, allocations: 0.9032 MB / 1.622 GB, free: 90.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003168/4.211, allocations: 1.425 MB / 1.623 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/4.211, allocations: 2.156 kB / 1.623 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009036/4.212, allocations: 478.9 kB / 1.624 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/4.217, allocations: 0.5883 MB / 1.624 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/4.226, allocations: 2.059 MB / 1.626 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/4.227, allocations: 1.297 MB / 1.628 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003279/4.23, allocations: 422 kB / 1.628 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/4.231, allocations: 108.5 kB / 1.628 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/4.231, allocations: 7.219 kB / 1.628 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.06233/4.293, allocations: 35.79 MB / 1.663 GB, free: 87.16 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)