Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_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.001237/0.001237, allocations: 183.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5505/0.5505, allocations: 91.98 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 95.16 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 72.31 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.201, allocations: 387.6 MB / 0.9475 GB, free: 79.39 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.201, allocations: 91.2 kB / 0.9476 GB, free: 79.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.175/3.376, allocations: 0.5623 GB / 1.51 GB, free: 69.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.112e-06/3.376, allocations: 1.031 kB / 1.51 GB, free: 69.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001842/3.376, allocations: 45.72 kB / 1.51 GB, free: 69.52 MB / 0.6042 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.005845/3.382, allocations: 2.169 MB / 1.512 GB, free: 68.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/3.382, allocations: 12.45 kB / 1.512 GB, free: 68.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003163/3.383, allocations: 176.5 kB / 1.512 GB, free: 68.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/3.387, allocations: 0.614 MB / 1.513 GB, free: 68.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004363/3.392, allocations: 1.817 MB / 1.515 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/3.392, allocations: 123 kB / 1.515 GB, free: 68.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/3.392, allocations: 119.7 kB / 1.515 GB, free: 68.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/3.396, allocations: 1.64 MB / 1.516 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/3.396, allocations: 6.875 kB / 1.516 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/3.397, allocations: 50 kB / 1.516 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.516e-05/3.397, allocations: 49.14 kB / 1.517 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004943/3.402, allocations: 1.463 MB / 1.518 GB, free: 68 MB / 0.6042 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.01327/3.415, allocations: 6.772 MB / 1.525 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/3.417, allocations: 0.7266 MB / 1.525 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/3.418, allocations: 1.268 MB / 1.527 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00215/3.421, allocations: 0.6667 MB / 1.527 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=65): time 2.976e-06/3.421, allocations: 4 kB / 1.527 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65): time 0.01172/3.432, allocations: 2.31 MB / 1.529 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/3.433, allocations: 480.8 kB / 1.53 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/3.435, allocations: 1.287 MB / 1.531 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/3.435, allocations: 47.14 kB / 1.531 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006095/3.436, allocations: 0.7097 MB / 1.532 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/3.436, allocations: 235.2 kB / 1.532 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/3.436, allocations: 16.12 kB / 1.532 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/3.436, allocations: 343.5 kB / 1.532 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/3.438, allocations: 0.4933 MB / 1.533 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/3.44, allocations: 0.8143 MB / 1.534 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/3.443, allocations: 0.5778 MB / 1.534 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/3.443, allocations: 2.125 kB / 1.534 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006865/3.449, allocations: 1.646 MB / 1.536 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005343/3.45, allocations: 2.52 MB / 1.538 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/3.45, allocations: 6.156 kB / 1.538 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/3.452, allocations: 379.2 kB / 1.539 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/3.453, allocations: 265.1 kB / 1.539 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/3.454, allocations: 0.8958 MB / 1.54 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/3.458, allocations: 285.1 kB / 1.54 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/3.458, allocations: 64.06 kB / 1.54 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/3.458, allocations: 3.594 kB / 1.54 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006323/3.464, allocations: 1.482 MB / 1.542 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/3.464, allocations: 12.38 kB / 1.542 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/3.466, allocations: 368.6 kB / 1.542 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/3.467, allocations: 265.4 kB / 1.542 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/3.469, allocations: 0.8974 MB / 1.543 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/3.472, allocations: 250.8 kB / 1.543 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/3.472, allocations: 60.55 kB / 1.543 GB, free: 57.61 MB / 0.6042 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.001489/3.474, allocations: 461.7 kB / 1.544 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/3.474, allocations: 147.5 kB / 1.544 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/3.479, allocations: 1.254 MB / 1.545 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/3.479, allocations: 9.719 kB / 1.545 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/3.479, allocations: 5.703 kB / 1.545 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004395/3.484, allocations: 1.132 MB / 1.546 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00855/3.492, allocations: 3.594 MB / 1.55 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/3.492, allocations: 4.125 kB / 1.55 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/3.493, allocations: 165 kB / 1.55 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/3.495, allocations: 372.8 kB / 1.55 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/3.495, allocations: 29.83 kB / 1.55 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/3.496, allocations: 0.8926 MB / 1.551 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/3.496, allocations: 8.5 kB / 1.551 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006962/3.503, allocations: 2.279 MB / 1.554 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/3.504, allocations: 392.9 kB / 1.554 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/3.505, allocations: 18.03 kB / 1.554 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/3.506, allocations: 155.3 kB / 1.554 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/3.507, allocations: 65.8 kB / 1.554 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/3.507, allocations: 44.45 kB / 1.554 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001826/3.509, allocations: 1.023 MB / 1.555 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/3.509, allocations: 0 / 1.555 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003806/3.512, allocations: 0.9939 MB / 1.556 GB, free: 54.22 MB / 0.6042 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.008315/3.521, allocations: 4.611 MB / 1.561 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006148/3.527, allocations: 1.925 MB / 1.563 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/3.527, allocations: 3.656 kB / 1.563 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/3.529, allocations: 0.5482 MB / 1.563 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/3.533, allocations: 0.7871 MB / 1.564 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/3.557, allocations: 13.75 MB / 1.577 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/3.558, allocations: 1.246 MB / 1.578 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002128/3.56, allocations: 371.8 kB / 1.579 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/3.561, allocations: 0.5815 MB / 1.579 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/3.561, allocations: 0 / 1.579 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08213/3.643, allocations: 54.84 MB / 1.633 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/3.643, allocations: 269.1 kB / 1.633 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.877/7.52, allocations: 4.719 kB / 1.633 GB, free: 40.36 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)