Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 173.9 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.8295/0.8295, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.458/1.458, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009466/0.0009467, allocations: 98.48 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.591e-05, allocations: 4 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.5233, allocations: 82.3 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9376/1.461, allocations: 396.3 MB / 1.021 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.461, allocations: 90.89 kB / 1.021 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.127/3.589, allocations: 0.5555 GB / 1.576 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.355e-06/3.589, allocations: 0 / 1.576 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000155/3.589, allocations: 40 kB / 1.576 GB, free: 23.43 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004146/3.593, allocations: 1.841 MB / 1.578 GB, free: 21.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/3.593, allocations: 8.031 kB / 1.578 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/3.598, allocations: 0.6574 MB / 1.579 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/3.602, allocations: 1.797 MB / 1.581 GB, free: 19.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/3.602, allocations: 91.98 kB / 1.581 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/3.602, allocations: 68 kB / 1.581 GB, free: 18.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001815/3.604, allocations: 1.032 MB / 1.582 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/3.606, allocations: 1.284 MB / 1.583 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/3.606, allocations: 7.938 kB / 1.583 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/3.606, allocations: 8 kB / 1.583 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.109e-05/3.606, allocations: 46.19 kB / 1.583 GB, free: 16.38 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.008796/3.615, allocations: 6.523 MB / 1.59 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/3.616, allocations: 0.5305 MB / 1.59 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/3.616, allocations: 324.5 kB / 1.59 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/3.617, allocations: 1.267 MB / 1.592 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/3.617, allocations: 43.12 kB / 1.592 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 3.798e-06/3.617, allocations: 0 / 1.592 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.01038/3.628, allocations: 1.513 MB / 1.593 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/3.628, allocations: 111.4 kB / 1.593 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/3.629, allocations: 0.9709 MB / 1.594 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/3.63, allocations: 29.7 kB / 1.594 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/3.63, allocations: 0.7249 MB / 1.595 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/3.63, allocations: 216.9 kB / 1.595 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/3.63, allocations: 0 / 1.595 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/3.631, allocations: 341.9 kB / 1.595 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/3.631, allocations: 318.5 kB / 1.596 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/3.632, allocations: 0.574 MB / 1.596 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/3.633, allocations: 0.4923 MB / 1.597 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/3.633, allocations: 0 / 1.597 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.6124/4.246, allocations: 1.759 MB / 1.598 GB, free: 97.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/4.247, allocations: 2.461 MB / 1.601 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/4.247, allocations: 11.59 kB / 1.601 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/4.248, allocations: 359.2 kB / 1.601 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/4.251, allocations: 253.4 kB / 1.601 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/4.253, allocations: 0.9513 MB / 1.602 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/4.256, allocations: 226.1 kB / 1.603 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/4.256, allocations: 56.84 kB / 1.603 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/4.256, allocations: 7.422 kB / 1.603 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01225/4.268, allocations: 1.601 MB / 1.604 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.392e-05/4.269, allocations: 12.62 kB / 1.604 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/4.27, allocations: 365.4 kB / 1.605 GB, free: 94.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/4.272, allocations: 253.1 kB / 1.605 GB, free: 94.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/4.273, allocations: 0.9555 MB / 1.606 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/4.276, allocations: 191.5 kB / 1.606 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/4.276, allocations: 56.52 kB / 1.606 GB, free: 94.31 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0004122/4.276, allocations: 133.6 kB / 1.606 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/4.276, allocations: 123.2 kB / 1.606 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/4.279, allocations: 0.9894 MB / 1.607 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/4.279, allocations: 8.406 kB / 1.607 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/4.279, allocations: 0 / 1.607 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/4.282, allocations: 0.8973 MB / 1.608 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/4.288, allocations: 2.599 MB / 1.611 GB, free: 93.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/4.288, allocations: 3.938 kB / 1.611 GB, free: 93.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009046/4.289, allocations: 154.4 kB / 1.611 GB, free: 93.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007184/4.289, allocations: 361.9 kB / 1.611 GB, free: 93.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/4.289, allocations: 24.22 kB / 1.611 GB, free: 93.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/4.291, allocations: 0.942 MB / 1.612 GB, free: 92.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/4.291, allocations: 11.66 kB / 1.612 GB, free: 92.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/4.294, allocations: 1.722 MB / 1.614 GB, free: 92.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/4.295, allocations: 369 kB / 1.614 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/4.295, allocations: 11.56 kB / 1.614 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/4.297, allocations: 130.6 kB / 1.614 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/4.297, allocations: 51.98 kB / 1.614 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/4.297, allocations: 46.23 kB / 1.614 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001158/4.298, allocations: 0.7381 MB / 1.615 GB, free: 92.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/4.298, allocations: 0 / 1.615 GB, free: 92.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003412/4.302, allocations: 0.9896 MB / 1.616 GB, free: 92.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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.001858/4.304, allocations: 0.8831 MB / 1.617 GB, free: 91.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002539/4.306, allocations: 1.275 MB / 1.618 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/4.306, allocations: 3.156 kB / 1.618 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/4.307, allocations: 359 kB / 1.618 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/4.31, allocations: 0.5685 MB / 1.619 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/4.315, allocations: 1.902 MB / 1.621 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/4.315, allocations: 1.24 MB / 1.622 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002314/4.318, allocations: 390.8 kB / 1.622 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/4.318, allocations: 91.41 kB / 1.623 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of SimCode: time 2.846e-06/4.318, allocations: 0 / 1.623 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of Templates: time 0.05706/4.375, allocations: 33.82 MB / 1.656 GB, free: 89.13 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)