Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.001751/0.001751, 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.8315/0.8315, 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.529/1.529, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.0009734/0.0009736, allocations: 103.5 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.068e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4869, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9316/1.419, allocations: 396.3 MB / 1.021 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.419, allocations: 86.58 kB / 1.021 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.087/3.506, allocations: 0.5555 GB / 1.577 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.744e-06/3.506, allocations: 4 kB / 1.577 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001759/3.506, allocations: 40 kB / 1.577 GB, free: 23.04 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.003635/3.51, allocations: 1.845 MB / 1.578 GB, free: 21.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/3.51, allocations: 12.03 kB / 1.578 GB, free: 21.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/3.514, allocations: 0.6575 MB / 1.579 GB, free: 20.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/3.518, allocations: 1.789 MB / 1.581 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/3.518, allocations: 84 kB / 1.581 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/3.518, allocations: 71.94 kB / 1.581 GB, free: 18.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001733/3.52, allocations: 1.032 MB / 1.582 GB, free: 17.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/3.522, allocations: 1.287 MB / 1.583 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/3.522, allocations: 7.938 kB / 1.583 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/3.522, allocations: 0 / 1.583 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/3.522, allocations: 58.11 kB / 1.583 GB, free: 15.97 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.008607/3.531, allocations: 6.531 MB / 1.59 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/3.531, allocations: 0.5202 MB / 1.59 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/3.532, allocations: 329 kB / 1.59 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/3.533, allocations: 1.263 MB / 1.592 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/3.533, allocations: 43.12 kB / 1.592 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.736e-06/3.533, allocations: 0 / 1.592 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.01057/3.543, allocations: 1.498 MB / 1.593 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/3.543, allocations: 115.4 kB / 1.593 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/3.545, allocations: 0.9747 MB / 1.594 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/3.545, allocations: 33.69 kB / 1.594 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/3.546, allocations: 0.7172 MB / 1.595 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/3.546, allocations: 216.8 kB / 1.595 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/3.546, allocations: 0 / 1.595 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/3.546, allocations: 345.9 kB / 1.596 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/3.547, allocations: 310.6 kB / 1.596 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/3.547, allocations: 0.5818 MB / 1.596 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/3.549, allocations: 0.5002 MB / 1.597 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/3.549, allocations: 4 kB / 1.597 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.5662/4.115, allocations: 1.752 MB / 1.599 GB, free: 98.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006429/4.116, allocations: 2.458 MB / 1.601 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/4.116, allocations: 8.828 kB / 1.601 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/4.117, allocations: 365 kB / 1.601 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/4.119, allocations: 256 kB / 1.602 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/4.12, allocations: 0.9552 MB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/4.123, allocations: 227.1 kB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/4.123, allocations: 54.69 kB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/4.123, allocations: 6.812 kB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01149/4.135, allocations: 1.6 MB / 1.604 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/4.135, allocations: 8.812 kB / 1.604 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009415/4.136, allocations: 367.2 kB / 1.605 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/4.137, allocations: 254.2 kB / 1.605 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/4.139, allocations: 0.9473 MB / 1.606 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/4.141, allocations: 199.9 kB / 1.606 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/4.141, allocations: 51.11 kB / 1.606 GB, free: 94.57 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.0004376/4.142, allocations: 133.9 kB / 1.606 GB, free: 94.46 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01085/4.152, allocations: 1.507 MB / 1.608 GB, free: 94.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009512/4.154, allocations: 128.1 kB / 1.608 GB, free: 94.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/4.157, allocations: 0.9854 MB / 1.609 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/4.157, allocations: 6.656 kB / 1.609 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/4.157, allocations: 3.938 kB / 1.609 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/4.159, allocations: 0.8931 MB / 1.61 GB, free: 94.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/4.165, allocations: 2.595 MB / 1.612 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/4.165, allocations: 7.594 kB / 1.612 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/4.166, allocations: 160.6 kB / 1.612 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007415/4.167, allocations: 355.8 kB / 1.613 GB, free: 93.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/4.167, allocations: 29.08 kB / 1.613 GB, free: 93.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/4.168, allocations: 0.9442 MB / 1.614 GB, free: 93.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/4.168, allocations: 6.344 kB / 1.614 GB, free: 93.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/4.172, allocations: 1.725 MB / 1.615 GB, free: 92.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/4.173, allocations: 368.4 kB / 1.616 GB, free: 92.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/4.173, allocations: 10.16 kB / 1.616 GB, free: 92.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/4.174, allocations: 130.5 kB / 1.616 GB, free: 92.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/4.175, allocations: 59.47 kB / 1.616 GB, free: 92.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.465e-05/4.175, allocations: 43.64 kB / 1.616 GB, free: 92.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001414/4.176, allocations: 0.7437 MB / 1.617 GB, free: 92.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/4.176, allocations: 0 / 1.617 GB, free: 92.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004022/4.18, allocations: 0.9718 MB / 1.618 GB, free: 92.19 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.005561/4.186, allocations: 4.128 MB / 1.622 GB, free: 89.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002474/4.188, allocations: 1.275 MB / 1.623 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/4.188, allocations: 2.719 kB / 1.623 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/4.189, allocations: 367.3 kB / 1.623 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/4.192, allocations: 0.569 MB / 1.624 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/4.198, allocations: 2.256 MB / 1.626 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009891/4.199, allocations: 1.236 MB / 1.627 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002109/4.201, allocations: 399.3 kB / 1.628 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006857/4.202, allocations: 0.5422 MB / 1.628 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/4.202, allocations: 3.188 kB / 1.628 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08081/4.283, allocations: 45.6 MB / 1.673 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/4.283, allocations: 180.2 kB / 1.673 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.567/7.851, allocations: 0 / 1.673 GB, free: 86.44 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)