Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.001306/0.001306, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5001/0.5001, allocations: 90.81 MB / 104.5 MB, free: 13.9 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.492/1.492, allocations: 221.3 MB / 348.3 MB, free: 12.56 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.0009572/0.0009572, allocations: 94.06 kB / 421.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.159e-05, allocations: 4 kB / 0.4897 GB, free: 46.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 72.32 MB / 0.5603 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.219, allocations: 386.9 MB / 0.9382 GB, free: 86.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/1.219, allocations: 91.62 kB / 0.9383 GB, free: 86.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.678/2.897, allocations: 0.5602 GB / 1.498 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/2.897, allocations: 0 / 1.498 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001469/2.897, allocations: 51.86 kB / 1.499 GB, free: 8.09 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003617/2.901, allocations: 1.847 MB / 1.5 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/2.901, allocations: 11.97 kB / 1.5 GB, free: 6.168 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/2.901, allocations: 177.3 kB / 1.501 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/2.905, allocations: 0.6105 MB / 1.501 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/2.908, allocations: 1.781 MB / 1.503 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/2.908, allocations: 128 kB / 1.503 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/2.908, allocations: 112 kB / 1.503 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/2.91, allocations: 1.436 MB / 1.504 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/2.91, allocations: 3.938 kB / 1.504 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/2.91, allocations: 56 kB / 1.505 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/2.91, allocations: 46.14 kB / 1.505 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/2.912, allocations: 1.09 MB / 1.506 GB, free: 0.5508 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.3687/3.281, allocations: 6.98 MB / 1.512 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/3.282, allocations: 0.5839 MB / 1.513 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/3.282, allocations: 330.3 kB / 1.513 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/3.283, allocations: 1.271 MB / 1.515 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/3.284, allocations: 43.22 kB / 1.515 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 2.495e-06/3.284, allocations: 1.281 kB / 1.515 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.001725/3.285, allocations: 0.8139 MB / 1.515 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/3.285, allocations: 114 kB / 1.516 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/3.287, allocations: 1.222 MB / 1.517 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.233e-05/3.287, allocations: 42.45 kB / 1.517 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000536/3.288, allocations: 0.7018 MB / 1.517 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/3.288, allocations: 225 kB / 1.518 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/3.288, allocations: 17.38 kB / 1.518 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/3.288, allocations: 340.2 kB / 1.518 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/3.288, allocations: 297 kB / 1.518 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/3.289, allocations: 0.5762 MB / 1.519 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/3.29, allocations: 358.8 kB / 1.519 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/3.29, allocations: 2.156 kB / 1.519 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001916/3.292, allocations: 1.116 MB / 1.52 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003904/3.292, allocations: 2.504 MB / 1.523 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/3.292, allocations: 6.094 kB / 1.523 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/3.294, allocations: 437.1 kB / 1.523 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/3.295, allocations: 250.2 kB / 1.523 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/3.296, allocations: 1.02 MB / 1.524 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/3.298, allocations: 270.9 kB / 1.525 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/3.298, allocations: 54.95 kB / 1.525 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/3.298, allocations: 4.844 kB / 1.525 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/3.3, allocations: 0.9621 MB / 1.526 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/3.3, allocations: 6.25 kB / 1.526 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/3.301, allocations: 434.9 kB / 1.526 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/3.302, allocations: 247.2 kB / 1.526 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/3.303, allocations: 1.021 MB / 1.527 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/3.305, allocations: 234.5 kB / 1.528 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/3.305, allocations: 56.03 kB / 1.528 GB, free: 58.89 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002443/3.305, allocations: 160.3 kB / 1.528 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/3.306, allocations: 149.9 kB / 1.528 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/3.308, allocations: 0.9292 MB / 1.529 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/3.308, allocations: 7.484 kB / 1.529 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/3.308, allocations: 1.594 kB / 1.529 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/3.309, allocations: 0.8034 MB / 1.53 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/3.313, allocations: 3.018 MB / 1.533 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/3.313, allocations: 3.406 kB / 1.533 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/3.314, allocations: 155.1 kB / 1.533 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/3.315, allocations: 411.4 kB / 1.533 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/3.315, allocations: 28.53 kB / 1.533 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/3.317, allocations: 1.092 MB / 1.534 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/3.317, allocations: 9.312 kB / 1.534 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/3.319, allocations: 1.257 MB / 1.535 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006876/3.319, allocations: 388.5 kB / 1.536 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/3.32, allocations: 18.05 kB / 1.536 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/3.321, allocations: 143.5 kB / 1.536 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/3.321, allocations: 56.34 kB / 1.536 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/3.321, allocations: 40.89 kB / 1.536 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001441/3.323, allocations: 0.9536 MB / 1.537 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/3.323, allocations: 4.719 kB / 1.537 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003894/3.327, allocations: 0.9758 MB / 1.538 GB, free: 56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003669/3.33, allocations: 3.499 MB / 1.541 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00258/3.333, allocations: 1.331 MB / 1.543 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/3.333, allocations: 0 / 1.543 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/3.334, allocations: 473.1 kB / 1.543 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/3.338, allocations: 0.7792 MB / 1.544 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/3.343, allocations: 2.179 MB / 1.546 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/3.343, allocations: 1.241 MB / 1.547 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002096/3.345, allocations: 435 kB / 1.548 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/3.346, allocations: 0.5306 MB / 1.548 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/3.346, allocations: 0.6562 kB / 1.548 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0755/3.421, allocations: 56.07 MB / 1.603 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/3.422, allocations: 244.8 kB / 1.603 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.835/7.256, allocations: 4 kB / 1.603 GB, free: 49.83 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)