Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.01195/0.01195, 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.9623/0.9623, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.261/2.261, allocations: 223.2 MB / 406.9 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.001201/0.0012, allocations: 95.55 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000528/0.0005277, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.781, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/2.259, allocations: 397.3 MB / 1.038 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000464/2.259, allocations: 102 kB / 1.038 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.108/6.367, allocations: 0.5602 GB / 1.598 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/6.368, allocations: 0 / 1.598 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002103/6.368, allocations: 44.38 kB / 1.598 GB, free: 97.46 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.008513/6.376, allocations: 2.171 MB / 1.6 GB, free: 96.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/6.376, allocations: 14.53 kB / 1.6 GB, free: 96.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006218/6.377, allocations: 179.3 kB / 1.6 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007291/6.384, allocations: 0.6127 MB / 1.601 GB, free: 96.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/6.391, allocations: 1.809 MB / 1.603 GB, free: 96.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/6.391, allocations: 133.5 kB / 1.603 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003929/6.392, allocations: 121.1 kB / 1.603 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006824/6.399, allocations: 1.638 MB / 1.604 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/6.399, allocations: 8.375 kB / 1.604 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/6.399, allocations: 52.03 kB / 1.604 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.263e-05/6.399, allocations: 47.81 kB / 1.605 GB, free: 95.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008017/6.407, allocations: 1.463 MB / 1.606 GB, free: 95.94 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.0173/6.424, allocations: 6.763 MB / 1.613 GB, free: 93.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/6.428, allocations: 0.7364 MB / 1.613 GB, free: 93.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001812/6.43, allocations: 1.267 MB / 1.614 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003408/6.433, allocations: 0.6791 MB / 1.615 GB, free: 91.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 5.43e-06/6.433, allocations: 0 / 1.615 GB, free: 91.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.01913/6.452, allocations: 2.294 MB / 1.617 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/6.453, allocations: 486 kB / 1.618 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/6.457, allocations: 1.282 MB / 1.619 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002829/6.457, allocations: 44.83 kB / 1.619 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009834/6.458, allocations: 0.7199 MB / 1.62 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000366/6.458, allocations: 231.4 kB / 1.62 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/6.458, allocations: 17.72 kB / 1.62 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001142/6.459, allocations: 333.7 kB / 1.62 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/6.462, allocations: 0.5 MB / 1.621 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/6.465, allocations: 0.8122 MB / 1.622 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/6.469, allocations: 0.5867 MB / 1.622 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/6.469, allocations: 0 / 1.622 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01092/6.48, allocations: 1.643 MB / 1.624 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009079/6.481, allocations: 2.527 MB / 1.626 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/6.481, allocations: 7.156 kB / 1.626 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/6.483, allocations: 359.8 kB / 1.627 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/6.486, allocations: 265.1 kB / 1.627 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/6.488, allocations: 0.9009 MB / 1.628 GB, free: 86.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/6.493, allocations: 294.7 kB / 1.628 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/6.493, allocations: 55.14 kB / 1.628 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/6.493, allocations: 3.625 kB / 1.628 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01007/6.503, allocations: 1.482 MB / 1.63 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/6.503, allocations: 7.156 kB / 1.63 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/6.505, allocations: 377.1 kB / 1.63 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/6.508, allocations: 264.7 kB / 1.63 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/6.51, allocations: 0.8974 MB / 1.631 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/6.514, allocations: 247.9 kB / 1.631 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/6.515, allocations: 56.77 kB / 1.631 GB, free: 85.51 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.001688/6.516, allocations: 463.9 kB / 1.632 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006545/6.517, allocations: 150.1 kB / 1.632 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008518/6.526, allocations: 1.257 MB / 1.633 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/6.526, allocations: 10.22 kB / 1.633 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/6.526, allocations: 3.938 kB / 1.633 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007806/6.533, allocations: 1.134 MB / 1.634 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/6.547, allocations: 3.591 MB / 1.638 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/6.547, allocations: 3.906 kB / 1.638 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/6.549, allocations: 167.5 kB / 1.638 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/6.551, allocations: 358.6 kB / 1.638 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/6.551, allocations: 37.23 kB / 1.638 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/6.553, allocations: 0.8914 MB / 1.639 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/6.553, allocations: 6.75 kB / 1.639 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/6.566, allocations: 2.289 MB / 1.641 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/6.568, allocations: 389.6 kB / 1.642 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006827/6.569, allocations: 23.88 kB / 1.642 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003473/6.572, allocations: 151 kB / 1.642 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/6.573, allocations: 71.61 kB / 1.642 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/6.573, allocations: 44.02 kB / 1.642 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003014/6.576, allocations: 1.024 MB / 1.643 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/6.576, allocations: 0 / 1.643 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005766/6.582, allocations: 0.9924 MB / 1.644 GB, free: 82.12 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/6.596, allocations: 4.601 MB / 1.649 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0117/6.608, allocations: 1.922 MB / 1.65 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/6.608, allocations: 2.375 kB / 1.65 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003519/6.612, allocations: 0.5593 MB / 1.651 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007334/6.619, allocations: 0.7751 MB / 1.652 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04558/6.665, allocations: 13.75 MB / 1.665 GB, free: 72.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/6.666, allocations: 1.251 MB / 1.666 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003782/6.67, allocations: 376.1 kB / 1.667 GB, free: 71.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/6.671, allocations: 0.5798 MB / 1.667 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/6.671, allocations: 0 / 1.667 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/6.826, allocations: 54.85 MB / 1.721 GB, free: 68.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00037/6.826, allocations: 275.1 kB / 1.721 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.883/12.71, allocations: 2.656 kB / 1.721 GB, free: 68.36 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)