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.00147/0.00147, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.653/1.653, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 94.28 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.054e-05, allocations: 3.656 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.496, allocations: 397.3 MB / 1.028 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.497, allocations: 88.02 kB / 1.029 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.027/3.524, allocations: 0.5585 GB / 1.587 GB, free: 103 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/3.524, allocations: 0 / 1.587 GB, free: 103 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002534/3.524, allocations: 44.67 kB / 1.587 GB, free: 103 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.00526/3.529, allocations: 1.908 MB / 1.589 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/3.53, allocations: 14.94 kB / 1.589 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004973/3.53, allocations: 173.7 kB / 1.589 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004444/3.534, allocations: 0.6151 MB / 1.59 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/3.539, allocations: 1.794 MB / 1.591 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/3.539, allocations: 135.2 kB / 1.592 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/3.539, allocations: 120.8 kB / 1.592 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/3.542, allocations: 1.448 MB / 1.593 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/3.542, allocations: 3.094 kB / 1.593 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/3.542, allocations: 49.28 kB / 1.593 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/3.542, allocations: 52.25 kB / 1.593 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/3.544, allocations: 1.094 MB / 1.594 GB, free: 101.2 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.009569/3.554, allocations: 6.771 MB / 1.601 GB, free: 98.35 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/3.555, allocations: 0.534 MB / 1.601 GB, free: 98.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/3.555, allocations: 336.4 kB / 1.602 GB, free: 98.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/3.557, allocations: 1.264 MB / 1.603 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007772/3.557, allocations: 0.5306 MB / 1.604 GB, free: 96.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 4.018e-06/3.557, allocations: 0 / 1.604 GB, free: 96.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.001813/3.559, allocations: 0.841 MB / 1.604 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/3.559, allocations: 483.8 kB / 1.605 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/3.561, allocations: 1.242 MB / 1.606 GB, free: 95.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/3.562, allocations: 47.39 kB / 1.606 GB, free: 95.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/3.562, allocations: 0.7192 MB / 1.607 GB, free: 95.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/3.562, allocations: 225.2 kB / 1.607 GB, free: 95.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/3.562, allocations: 13.91 kB / 1.607 GB, free: 95.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/3.563, allocations: 343.5 kB / 1.607 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/3.563, allocations: 326.5 kB / 1.608 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/3.564, allocations: 0.6351 MB / 1.608 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/3.565, allocations: 418.9 kB / 1.609 GB, free: 94.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/3.565, allocations: 3.906 kB / 1.609 GB, free: 94.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003689/3.568, allocations: 1.263 MB / 1.61 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006043/3.569, allocations: 2.523 MB / 1.612 GB, free: 92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/3.569, allocations: 7.812 kB / 1.612 GB, free: 92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/3.57, allocations: 324.2 kB / 1.613 GB, free: 91.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/3.572, allocations: 265.6 kB / 1.613 GB, free: 91.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008584/3.573, allocations: 0.848 MB / 1.614 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/3.576, allocations: 291.9 kB / 1.614 GB, free: 91.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/3.576, allocations: 56.2 kB / 1.614 GB, free: 91.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/3.576, allocations: 3.25 kB / 1.614 GB, free: 91.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003238/3.579, allocations: 1.115 MB / 1.615 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/3.579, allocations: 3.969 kB / 1.615 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/3.58, allocations: 325.4 kB / 1.615 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/3.581, allocations: 266.8 kB / 1.616 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007649/3.582, allocations: 0.8471 MB / 1.617 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/3.585, allocations: 249 kB / 1.617 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/3.585, allocations: 60.02 kB / 1.617 GB, free: 90.75 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 () * 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.0004313/3.585, allocations: 172.9 kB / 1.617 GB, free: 90.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/3.586, allocations: 150.3 kB / 1.617 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/3.589, allocations: 0.9463 MB / 1.618 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/3.589, allocations: 6.812 kB / 1.618 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/3.589, allocations: 3.594 kB / 1.618 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001971/3.591, allocations: 0.8168 MB / 1.619 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/3.597, allocations: 3.275 MB / 1.622 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/3.597, allocations: 3.969 kB / 1.622 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009443/3.598, allocations: 169.9 kB / 1.622 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/3.599, allocations: 313.9 kB / 1.623 GB, free: 89.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/3.599, allocations: 27.28 kB / 1.623 GB, free: 89.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007352/3.6, allocations: 0.8448 MB / 1.623 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/3.6, allocations: 9.625 kB / 1.623 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/3.603, allocations: 1.81 MB / 1.625 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/3.604, allocations: 398.5 kB / 1.626 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/3.605, allocations: 21.23 kB / 1.626 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/3.607, allocations: 155.6 kB / 1.626 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/3.607, allocations: 67.7 kB / 1.626 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/3.607, allocations: 43.06 kB / 1.626 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001852/3.609, allocations: 0.9795 MB / 1.627 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.182e-06/3.609, allocations: 0 / 1.627 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003884/3.613, allocations: 1.004 MB / 1.628 GB, free: 87.43 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) * 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.005638/3.618, allocations: 4.129 MB / 1.632 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002931/3.621, allocations: 1.476 MB / 1.633 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/3.621, allocations: 3.844 kB / 1.633 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/3.622, allocations: 412 kB / 1.634 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/3.626, allocations: 0.7881 MB / 1.634 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/3.634, allocations: 2.488 MB / 1.637 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008318/3.634, allocations: 1.251 MB / 1.638 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002607/3.637, allocations: 471 kB / 1.639 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008127/3.638, allocations: 0.5533 MB / 1.639 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/3.638, allocations: 0 / 1.639 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0945/3.732, allocations: 57.11 MB / 1.695 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/3.733, allocations: 239.9 kB / 1.695 GB, free: 52.15 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/7.606, allocations: 0 / 1.695 GB, free: 52.15 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)