Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_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.00963/0.00963, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8869/0.8869, 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.608/1.608, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001061/0.00106, allocations: 92.61 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4721, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9515/1.424, allocations: 397.3 MB / 1.038 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.424, allocations: 96.7 kB / 1.038 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.338/3.763, allocations: 0.5602 GB / 1.598 GB, free: 97.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/3.763, allocations: 0 / 1.598 GB, free: 97.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001523/3.763, allocations: 44.14 kB / 1.598 GB, free: 97.72 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.005727/3.768, allocations: 2.172 MB / 1.6 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/3.769, allocations: 10.91 kB / 1.6 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003423/3.769, allocations: 184.2 kB / 1.6 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/3.773, allocations: 0.6205 MB / 1.601 GB, free: 96.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/3.778, allocations: 1.802 MB / 1.603 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/3.778, allocations: 129.9 kB / 1.603 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/3.778, allocations: 124.1 kB / 1.603 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/3.782, allocations: 1.633 MB / 1.604 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/3.782, allocations: 3.062 kB / 1.604 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/3.782, allocations: 57.83 kB / 1.604 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/3.782, allocations: 49.75 kB / 1.604 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/3.787, allocations: 1.47 MB / 1.606 GB, free: 96.2 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.00975/3.796, allocations: 6.76 MB / 1.613 GB, free: 93.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/3.798, allocations: 0.7262 MB / 1.613 GB, free: 93.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/3.8, allocations: 1.265 MB / 1.614 GB, free: 91.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/3.801, allocations: 0.6761 MB / 1.615 GB, free: 91.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 3.126e-06/3.801, allocations: 0 / 1.615 GB, free: 91.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.01104/3.813, allocations: 2.305 MB / 1.617 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/3.813, allocations: 484.7 kB / 1.618 GB, free: 90.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/3.815, allocations: 1.286 MB / 1.619 GB, free: 90.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/3.815, allocations: 44.14 kB / 1.619 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/3.816, allocations: 0.7117 MB / 1.62 GB, free: 90.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/3.816, allocations: 227 kB / 1.62 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/3.816, allocations: 16.22 kB / 1.62 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.97e-05/3.816, allocations: 339.5 kB / 1.62 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/3.818, allocations: 0.5048 MB / 1.621 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/3.82, allocations: 0.8158 MB / 1.622 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/3.822, allocations: 0.5767 MB / 1.622 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/3.822, allocations: 3.781 kB / 1.622 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0063/3.828, allocations: 1.639 MB / 1.624 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000504/3.829, allocations: 2.526 MB / 1.626 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/3.829, allocations: 3.875 kB / 1.626 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/3.83, allocations: 375.8 kB / 1.627 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/3.831, allocations: 264.4 kB / 1.627 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/3.833, allocations: 0.8988 MB / 1.628 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/3.836, allocations: 294.7 kB / 1.628 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/3.836, allocations: 50.86 kB / 1.628 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/3.836, allocations: 11.09 kB / 1.628 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006092/3.842, allocations: 1.487 MB / 1.63 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/3.842, allocations: 7.656 kB / 1.63 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/3.843, allocations: 366.9 kB / 1.63 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/3.845, allocations: 268.2 kB / 1.63 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/3.846, allocations: 0.9004 MB / 1.631 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/3.848, allocations: 249 kB / 1.631 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/3.849, allocations: 59.84 kB / 1.631 GB, free: 85.79 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.001215/3.85, allocations: 458.5 kB / 1.632 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/3.85, allocations: 148.9 kB / 1.632 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/3.856, allocations: 1.259 MB / 1.633 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/3.856, allocations: 7.844 kB / 1.633 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/3.856, allocations: 0 / 1.633 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004597/3.86, allocations: 1.136 MB / 1.634 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/3.87, allocations: 3.591 MB / 1.638 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/3.87, allocations: 3.625 kB / 1.638 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/3.871, allocations: 172.4 kB / 1.638 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/3.872, allocations: 360.1 kB / 1.638 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.159e-05/3.872, allocations: 25.03 kB / 1.638 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/3.873, allocations: 0.8967 MB / 1.639 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/3.873, allocations: 6.875 kB / 1.639 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/3.88, allocations: 2.286 MB / 1.641 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/3.882, allocations: 397 kB / 1.642 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000677/3.882, allocations: 14.94 kB / 1.642 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/3.885, allocations: 160 kB / 1.642 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/3.885, allocations: 66.42 kB / 1.642 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/3.885, allocations: 44.19 kB / 1.642 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002308/3.887, allocations: 1.023 MB / 1.643 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-07/3.887, allocations: 3.188 kB / 1.643 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004766/3.892, allocations: 0.9921 MB / 1.644 GB, free: 82.41 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.009729/3.902, allocations: 4.6 MB / 1.649 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006741/3.909, allocations: 1.929 MB / 1.65 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/3.909, allocations: 0 / 1.65 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/3.911, allocations: 0.5529 MB / 1.651 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/3.915, allocations: 0.7896 MB / 1.652 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/3.943, allocations: 13.75 MB / 1.665 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/3.945, allocations: 1.247 MB / 1.666 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002623/3.947, allocations: 378.2 kB / 1.667 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/3.948, allocations: 0.5818 MB / 1.667 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of SimCode: time 1.333e-06/3.948, allocations: 0 / 1.667 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/4.048, allocations: 54.84 MB / 1.721 GB, free: 68.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/4.048, allocations: 260.4 kB / 1.721 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.855/7.903, allocations: 3.625 kB / 1.721 GB, free: 68.63 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)