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.001154/0.001154, allocations: 174.1 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7435/0.7435, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.615/1.615, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0009207/0.0009209, allocations: 89.98 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.65e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1746, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.479, allocations: 397.3 MB / 1.028 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.479, allocations: 91.95 kB / 1.029 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.157/3.636, allocations: 0.5585 GB / 1.587 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/3.636, allocations: 0 / 1.587 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002822/3.636, allocations: 44.22 kB / 1.587 GB, free: 102.1 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.006536/3.643, allocations: 1.9 MB / 1.589 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/3.643, allocations: 15.09 kB / 1.589 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000616/3.644, allocations: 174.9 kB / 1.589 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/3.649, allocations: 0.6177 MB / 1.59 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005417/3.654, allocations: 1.795 MB / 1.591 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/3.654, allocations: 127.2 kB / 1.592 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/3.655, allocations: 123.9 kB / 1.592 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/3.659, allocations: 1.445 MB / 1.593 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/3.659, allocations: 0 / 1.593 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/3.659, allocations: 49.91 kB / 1.593 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-05/3.659, allocations: 55.02 kB / 1.593 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/3.662, allocations: 1.092 MB / 1.594 GB, free: 100.4 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.01196/3.674, allocations: 6.767 MB / 1.601 GB, free: 97.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/3.675, allocations: 0.5282 MB / 1.601 GB, free: 97.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/3.675, allocations: 347.5 kB / 1.602 GB, free: 97.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/3.677, allocations: 1.269 MB / 1.603 GB, free: 96.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008668/3.678, allocations: 0.5188 MB / 1.604 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 4.519e-06/3.678, allocations: 2.875 kB / 1.604 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.002055/3.68, allocations: 0.8508 MB / 1.604 GB, free: 95.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/3.68, allocations: 479.3 kB / 1.605 GB, free: 95.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/3.683, allocations: 1.238 MB / 1.606 GB, free: 95.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/3.683, allocations: 44.42 kB / 1.606 GB, free: 95.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00089/3.684, allocations: 0.7155 MB / 1.607 GB, free: 94.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/3.684, allocations: 229.3 kB / 1.607 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/3.684, allocations: 18.44 kB / 1.607 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001126/3.684, allocations: 340.1 kB / 1.607 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/3.685, allocations: 329 kB / 1.608 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/3.686, allocations: 0.6375 MB / 1.608 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/3.687, allocations: 418.4 kB / 1.609 GB, free: 93.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/3.687, allocations: 7.828 kB / 1.609 GB, free: 93.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003815/3.69, allocations: 1.264 MB / 1.61 GB, free: 93.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006383/3.691, allocations: 2.52 MB / 1.612 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/3.691, allocations: 6.531 kB / 1.612 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/3.693, allocations: 329.1 kB / 1.613 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/3.694, allocations: 266 kB / 1.613 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009524/3.695, allocations: 0.8479 MB / 1.614 GB, free: 90.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/3.698, allocations: 279.8 kB / 1.614 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/3.699, allocations: 59.14 kB / 1.614 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/3.699, allocations: 7.188 kB / 1.614 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003514/3.702, allocations: 1.111 MB / 1.615 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/3.702, allocations: 7.594 kB / 1.615 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/3.703, allocations: 327.4 kB / 1.615 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/3.705, allocations: 262.3 kB / 1.616 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/3.706, allocations: 0.8472 MB / 1.617 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/3.708, allocations: 247 kB / 1.617 GB, free: 89.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/3.709, allocations: 59.05 kB / 1.617 GB, free: 89.93 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.0004458/3.709, allocations: 165.4 kB / 1.617 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/3.71, allocations: 155.6 kB / 1.617 GB, free: 89.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/3.713, allocations: 0.9397 MB / 1.618 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/3.713, allocations: 13.66 kB / 1.618 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/3.713, allocations: 3.031 kB / 1.618 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002075/3.715, allocations: 0.817 MB / 1.619 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/3.722, allocations: 3.277 MB / 1.622 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/3.722, allocations: 7.688 kB / 1.622 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/3.723, allocations: 165.9 kB / 1.622 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/3.724, allocations: 328 kB / 1.623 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/3.725, allocations: 26.75 kB / 1.623 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008791/3.725, allocations: 0.8444 MB / 1.623 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/3.725, allocations: 6.406 kB / 1.623 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/3.73, allocations: 1.809 MB / 1.625 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/3.731, allocations: 392.6 kB / 1.626 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008983/3.732, allocations: 20.19 kB / 1.626 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/3.735, allocations: 156.3 kB / 1.626 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/3.735, allocations: 67.89 kB / 1.626 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/3.735, allocations: 37.78 kB / 1.626 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002295/3.737, allocations: 0.9808 MB / 1.627 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/3.737, allocations: 0 / 1.627 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004949/3.742, allocations: 1.004 MB / 1.628 GB, free: 86.62 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.007917/3.75, allocations: 4.126 MB / 1.632 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003438/3.754, allocations: 1.478 MB / 1.633 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/3.754, allocations: 7.234 kB / 1.633 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/3.755, allocations: 413 kB / 1.634 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/3.759, allocations: 0.7771 MB / 1.634 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008661/3.768, allocations: 2.5 MB / 1.637 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/3.769, allocations: 1.243 MB / 1.638 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002758/3.772, allocations: 476.8 kB / 1.639 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008353/3.773, allocations: 0.5561 MB / 1.639 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of SimCode: time 1.323e-06/3.773, allocations: 1.594 kB / 1.639 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/3.88, allocations: 57.08 MB / 1.695 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/3.88, allocations: 235.6 kB / 1.695 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.939/7.819, allocations: 9.734 kB / 1.695 GB, free: 63.7 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)