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.001217/0.001217, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7832/0.7832, allocations: 133.6 MB / 141.6 MB, free: 2.84 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008473/0.0008472, allocations: 106.6 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.515e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4931, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8243/1.317, allocations: 396.6 MB / 1.021 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.318, allocations: 98.75 kB / 1.021 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.961/3.279, allocations: 0.5558 GB / 1.577 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/3.279, allocations: 0 / 1.577 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002948/3.279, allocations: 43.92 kB / 1.577 GB, free: 22.66 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.004909/3.284, allocations: 1.912 MB / 1.579 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/3.284, allocations: 8.031 kB / 1.579 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/3.289, allocations: 0.6144 MB / 1.58 GB, free: 20.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/3.293, allocations: 1.797 MB / 1.581 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/3.293, allocations: 87.98 kB / 1.581 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/3.293, allocations: 68 kB / 1.582 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/3.295, allocations: 1.02 MB / 1.583 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/3.297, allocations: 1.274 MB / 1.584 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/3.297, allocations: 7.938 kB / 1.584 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/3.297, allocations: 7.984 kB / 1.584 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/3.297, allocations: 54.17 kB / 1.584 GB, free: 15.59 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.008424/3.305, allocations: 6.488 MB / 1.59 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/3.306, allocations: 0.5083 MB / 1.591 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/3.307, allocations: 320.4 kB / 1.591 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/3.308, allocations: 1.263 MB / 1.592 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006325/3.308, allocations: 0.5075 MB / 1.593 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 2.845e-06/3.308, allocations: 0 / 1.593 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.002841/3.311, allocations: 0.9042 MB / 1.594 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/3.311, allocations: 483.4 kB / 1.594 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/3.313, allocations: 0.9916 MB / 1.595 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/3.313, allocations: 29.7 kB / 1.595 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/3.313, allocations: 0.7368 MB / 1.596 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/3.314, allocations: 212.9 kB / 1.596 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/3.314, allocations: 0 / 1.596 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/3.314, allocations: 341.9 kB / 1.596 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/3.314, allocations: 310.6 kB / 1.597 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/3.315, allocations: 0.6047 MB / 1.597 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/3.317, allocations: 0.508 MB / 1.598 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/3.317, allocations: 0 / 1.598 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.4641/3.781, allocations: 1.254 MB / 1.599 GB, free: 98.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005629/3.781, allocations: 2.493 MB / 1.601 GB, free: 95.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/3.781, allocations: 6.188 kB / 1.601 GB, free: 95.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/3.782, allocations: 272.3 kB / 1.602 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/3.785, allocations: 269.1 kB / 1.602 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/3.787, allocations: 0.8965 MB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/3.791, allocations: 233.8 kB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/3.791, allocations: 59.98 kB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/3.791, allocations: 6 kB / 1.603 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006784/3.798, allocations: 1.105 MB / 1.604 GB, free: 95.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/3.798, allocations: 9.719 kB / 1.604 GB, free: 95.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009281/3.799, allocations: 268.5 kB / 1.604 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/3.801, allocations: 270.9 kB / 1.605 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/3.803, allocations: 0.8889 MB / 1.606 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/3.806, allocations: 205.3 kB / 1.606 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/3.806, allocations: 56.83 kB / 1.606 GB, free: 94.57 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.0004626/3.807, allocations: 131.2 kB / 1.606 GB, free: 94.46 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004183/3.811, allocations: 0.9132 MB / 1.607 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/3.811, allocations: 132.1 kB / 1.607 GB, free: 94.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/3.816, allocations: 0.9917 MB / 1.608 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/3.816, allocations: 9.688 kB / 1.608 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/3.816, allocations: 2 kB / 1.608 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004348/3.821, allocations: 0.9032 MB / 1.609 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009069/3.83, allocations: 3.182 MB / 1.612 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/3.83, allocations: 3.938 kB / 1.612 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/3.831, allocations: 164.8 kB / 1.612 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/3.832, allocations: 268.5 kB / 1.612 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/3.832, allocations: 22.94 kB / 1.612 GB, free: 93.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/3.834, allocations: 0.8846 MB / 1.613 GB, free: 92.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/3.834, allocations: 5.781 kB / 1.613 GB, free: 92.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/3.84, allocations: 1.817 MB / 1.615 GB, free: 91.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/3.841, allocations: 371.6 kB / 1.615 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/3.841, allocations: 14.86 kB / 1.615 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/3.844, allocations: 133.6 kB / 1.615 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/3.844, allocations: 61.67 kB / 1.616 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/3.844, allocations: 45.84 kB / 1.616 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001531/3.845, allocations: 0.7489 MB / 1.616 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/3.845, allocations: 1.375 kB / 1.616 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004793/3.85, allocations: 0.9906 MB / 1.617 GB, free: 91.53 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.008074/3.858, allocations: 4.168 MB / 1.621 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003382/3.862, allocations: 1.388 MB / 1.623 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/3.862, allocations: 3.688 kB / 1.623 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/3.863, allocations: 393.1 kB / 1.623 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/3.867, allocations: 0.5751 MB / 1.624 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009465/3.876, allocations: 2.377 MB / 1.626 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/3.878, allocations: 1.25 MB / 1.627 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003248/3.881, allocations: 405.7 kB / 1.628 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009504/3.882, allocations: 0.5468 MB / 1.628 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/3.882, allocations: 0 / 1.628 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/3.989, allocations: 45.76 MB / 1.673 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/3.989, allocations: 183.9 kB / 1.673 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/7.519, allocations: 3.938 kB / 1.673 GB, free: 85.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)