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.01207/0.01207, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.779/0.779, allocations: 135.2 MB / 151 MB, free: 13.82 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.468/1.468, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0009526/0.0009525, allocations: 97.41 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3413, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6919/1.033, allocations: 397 MB / 1.037 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.034, allocations: 92.77 kB / 1.037 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.369/3.403, allocations: 0.5599 GB / 1.597 GB, free: 97.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.443e-06/3.403, allocations: 0 / 1.597 GB, free: 97.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001566/3.403, allocations: 42.88 kB / 1.597 GB, free: 97.28 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.004697/3.408, allocations: 2.1 MB / 1.599 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/3.408, allocations: 9.594 kB / 1.599 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003651/3.408, allocations: 181.8 kB / 1.6 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/3.413, allocations: 0.6697 MB / 1.6 GB, free: 96.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/3.417, allocations: 1.801 MB / 1.602 GB, free: 96.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/3.417, allocations: 130.2 kB / 1.602 GB, free: 96.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/3.418, allocations: 117.1 kB / 1.602 GB, free: 96.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/3.421, allocations: 1.629 MB / 1.604 GB, free: 95.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/3.421, allocations: 9.703 kB / 1.604 GB, free: 95.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/3.421, allocations: 58.44 kB / 1.604 GB, free: 95.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/3.422, allocations: 47.31 kB / 1.604 GB, free: 95.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/3.426, allocations: 1.464 MB / 1.605 GB, free: 95.79 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009761/3.436, allocations: 6.792 MB / 1.612 GB, free: 92.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/3.438, allocations: 0.6943 MB / 1.613 GB, free: 92.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/3.439, allocations: 1.261 MB / 1.614 GB, free: 91.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/3.439, allocations: 49.16 kB / 1.614 GB, free: 91.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.545e-06/3.439, allocations: 0 / 1.614 GB, free: 91.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.02935/3.468, allocations: 3.82 MB / 1.618 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/3.468, allocations: 110.5 kB / 1.618 GB, free: 91.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/3.471, allocations: 1.271 MB / 1.619 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002957/3.471, allocations: 42.67 kB / 1.619 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/3.472, allocations: 0.6998 MB / 1.62 GB, free: 90.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/3.472, allocations: 228.3 kB / 1.62 GB, free: 90.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/3.472, allocations: 18.69 kB / 1.62 GB, free: 90.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/3.472, allocations: 338.9 kB / 1.62 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/3.474, allocations: 0.492 MB / 1.621 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/3.476, allocations: 0.7661 MB / 1.621 GB, free: 90 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/3.478, allocations: 0.545 MB / 1.622 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/3.478, allocations: 3.656 kB / 1.622 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01271/3.491, allocations: 2.095 MB / 1.624 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004959/3.491, allocations: 2.493 MB / 1.626 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/3.491, allocations: 7.781 kB / 1.626 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/3.493, allocations: 492.3 kB / 1.627 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/3.494, allocations: 249.5 kB / 1.627 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/3.496, allocations: 1.004 MB / 1.628 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/3.499, allocations: 277.5 kB / 1.628 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/3.499, allocations: 52.48 kB / 1.628 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/3.499, allocations: 6.875 kB / 1.628 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01182/3.511, allocations: 1.937 MB / 1.63 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/3.511, allocations: 10.34 kB / 1.63 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/3.513, allocations: 481.9 kB / 1.631 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/3.514, allocations: 254.9 kB / 1.631 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/3.516, allocations: 1.002 MB / 1.632 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/3.519, allocations: 241.7 kB / 1.632 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/3.519, allocations: 53.09 kB / 1.632 GB, free: 86.1 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 () * Number of clocked 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.001063/3.52, allocations: 449.5 kB / 1.633 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/3.52, allocations: 141 kB / 1.633 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/3.524, allocations: 1.252 MB / 1.634 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/3.524, allocations: 10.64 kB / 1.634 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/3.524, allocations: 5.406 kB / 1.634 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003419/3.528, allocations: 1.12 MB / 1.635 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/3.535, allocations: 3.008 MB / 1.638 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/3.535, allocations: 3.938 kB / 1.638 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/3.536, allocations: 158.8 kB / 1.638 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/3.538, allocations: 484.2 kB / 1.639 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/3.538, allocations: 25.62 kB / 1.639 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/3.539, allocations: 0.9872 MB / 1.64 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/3.539, allocations: 5.75 kB / 1.64 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005966/3.545, allocations: 2.177 MB / 1.642 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/3.547, allocations: 393.8 kB / 1.642 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/3.547, allocations: 21 kB / 1.642 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/3.549, allocations: 142.1 kB / 1.642 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/3.549, allocations: 58.73 kB / 1.643 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/3.549, allocations: 48.56 kB / 1.643 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001617/3.551, allocations: 1.01 MB / 1.644 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/3.551, allocations: 1.812 kB / 1.644 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002909/3.553, allocations: 0.9852 MB / 1.645 GB, free: 83.32 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) * Number of clocked states: 0 () * 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.007524/3.561, allocations: 4.543 MB / 1.649 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006002/3.567, allocations: 1.781 MB / 1.651 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/3.567, allocations: 0 / 1.651 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/3.569, allocations: 0.5129 MB / 1.651 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/3.572, allocations: 0.7704 MB / 1.652 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/3.595, allocations: 13.66 MB / 1.665 GB, free: 73.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/3.596, allocations: 1.24 MB / 1.666 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002014/3.598, allocations: 373.3 kB / 1.667 GB, free: 72.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/3.598, allocations: 0.5823 MB / 1.667 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/3.598, allocations: 0 / 1.667 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08032/3.679, allocations: 54.79 MB / 1.721 GB, free: 69.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/3.679, allocations: 253.1 kB / 1.721 GB, free: 69.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.811/7.49, allocations: 3.156 kB / 1.721 GB, free: 69.61 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)