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.0009373/0.0009374, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4966/0.4966, allocations: 90.91 MB / 99.34 MB, free: 2.145 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 109.2 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.923e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1563, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.244, allocations: 386.9 MB / 0.9315 GB, free: 93.54 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.244, allocations: 95 kB / 0.9315 GB, free: 93.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.025/3.27, allocations: 0.5579 GB / 1.489 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.243e-06/3.27, allocations: 1.406 kB / 1.489 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001693/3.27, allocations: 45.47 kB / 1.489 GB, free: 76.3 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.004317/3.274, allocations: 1.909 MB / 1.491 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/3.274, allocations: 10.09 kB / 1.491 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/3.279, allocations: 0.6163 MB / 1.492 GB, free: 75.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/3.283, allocations: 1.792 MB / 1.494 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/3.283, allocations: 87.33 kB / 1.494 GB, free: 75.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/3.283, allocations: 72.47 kB / 1.494 GB, free: 75.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002084/3.285, allocations: 1.016 MB / 1.495 GB, free: 75.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/3.287, allocations: 1.279 MB / 1.496 GB, free: 74.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/3.287, allocations: 4.375 kB / 1.496 GB, free: 74.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/3.287, allocations: 5.016 kB / 1.496 GB, free: 74.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/3.287, allocations: 53.77 kB / 1.496 GB, free: 74.93 MB / 0.6042 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.009127/3.297, allocations: 6.486 MB / 1.502 GB, free: 72.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/3.297, allocations: 0.508 MB / 1.503 GB, free: 72.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/3.298, allocations: 320.1 kB / 1.503 GB, free: 72.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/3.299, allocations: 1.272 MB / 1.505 GB, free: 70.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007759/3.3, allocations: 0.5007 MB / 1.505 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=65): time 3.336e-06/3.3, allocations: 0 / 1.505 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65): time 0.003058/3.303, allocations: 0.9068 MB / 1.506 GB, free: 70.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/3.303, allocations: 486.5 kB / 1.506 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/3.304, allocations: 0.9875 MB / 1.507 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-05/3.305, allocations: 30.84 kB / 1.507 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/3.305, allocations: 0.7338 MB / 1.508 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/3.305, allocations: 219.5 kB / 1.508 GB, free: 69.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/3.305, allocations: 3.188 kB / 1.508 GB, free: 69.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/3.305, allocations: 339 kB / 1.509 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/3.306, allocations: 311.8 kB / 1.509 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/3.307, allocations: 0.6152 MB / 1.509 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/3.308, allocations: 0.4927 MB / 1.51 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/3.308, allocations: 3.969 kB / 1.51 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004398/3.313, allocations: 1.262 MB / 1.511 GB, free: 68.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004228/3.313, allocations: 2.493 MB / 1.514 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/3.313, allocations: 7.781 kB / 1.514 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/3.314, allocations: 270.6 kB / 1.514 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/3.315, allocations: 267.1 kB / 1.514 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/3.316, allocations: 0.888 MB / 1.515 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/3.319, allocations: 240.9 kB / 1.515 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/3.319, allocations: 55.44 kB / 1.515 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/3.319, allocations: 2.906 kB / 1.515 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004168/3.323, allocations: 1.112 MB / 1.516 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/3.323, allocations: 5.875 kB / 1.516 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/3.324, allocations: 273.3 kB / 1.517 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/3.325, allocations: 267.9 kB / 1.517 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/3.326, allocations: 0.8946 MB / 1.518 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/3.329, allocations: 199.6 kB / 1.518 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/3.329, allocations: 55.22 kB / 1.518 GB, free: 64.83 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 () * 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.0004217/3.329, allocations: 137 kB / 1.518 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002969/3.332, allocations: 0.91 MB / 1.519 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/3.332, allocations: 127 kB / 1.519 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/3.336, allocations: 0.996 MB / 1.52 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/3.336, allocations: 8 kB / 1.52 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/3.336, allocations: 4.375 kB / 1.52 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002924/3.339, allocations: 0.9047 MB / 1.521 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006442/3.345, allocations: 3.183 MB / 1.524 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/3.345, allocations: 6 kB / 1.524 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/3.346, allocations: 164.8 kB / 1.524 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/3.347, allocations: 265.6 kB / 1.525 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/3.347, allocations: 22.22 kB / 1.525 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008583/3.348, allocations: 0.89 MB / 1.525 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/3.348, allocations: 7.812 kB / 1.525 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/3.352, allocations: 1.822 MB / 1.527 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000762/3.352, allocations: 364.3 kB / 1.528 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/3.353, allocations: 10.91 kB / 1.528 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/3.354, allocations: 137.4 kB / 1.528 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/3.354, allocations: 66.08 kB / 1.528 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/3.354, allocations: 40.58 kB / 1.528 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009834/3.355, allocations: 0.7495 MB / 1.529 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/3.355, allocations: 0 / 1.529 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003039/3.358, allocations: 0.9943 MB / 1.53 GB, free: 61.6 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) * 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.005362/3.364, allocations: 4.166 MB / 1.534 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002226/3.366, allocations: 1.389 MB / 1.535 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/3.366, allocations: 3.75 kB / 1.535 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/3.367, allocations: 397.4 kB / 1.535 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/3.369, allocations: 0.5753 MB / 1.536 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006179/3.376, allocations: 2.378 MB / 1.538 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/3.376, allocations: 1.249 MB / 1.539 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00192/3.378, allocations: 411.2 kB / 1.54 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/3.379, allocations: 0.5454 MB / 1.54 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/3.379, allocations: 0 / 1.54 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07049/3.449, allocations: 45.75 MB / 1.585 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/3.45, allocations: 196.4 kB / 1.585 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/6.743, allocations: 4 kB / 1.585 GB, free: 55.28 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)