Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 172.9 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.3 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008479/0.0008474, allocations: 93.09 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.943e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.7557, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.892, allocations: 422.4 MB / 1.386 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.892, allocations: 95.31 kB / 1.386 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.702/3.595, allocations: 0.5446 GB / 1.931 GB, free: 62.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.092e-06/3.595, allocations: 0 / 1.931 GB, free: 62.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002185/3.595, allocations: 47.92 kB / 1.931 GB, free: 62.07 MB / 0.948 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.004362/3.599, allocations: 1.844 MB / 1.932 GB, free: 60.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/3.599, allocations: 8.031 kB / 1.932 GB, free: 60.15 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/3.603, allocations: 0.6067 MB / 1.933 GB, free: 59.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/3.607, allocations: 1.755 MB / 1.935 GB, free: 57.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/3.607, allocations: 88 kB / 1.935 GB, free: 57.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/3.607, allocations: 75.94 kB / 1.935 GB, free: 57.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001943/3.609, allocations: 1 MB / 1.936 GB, free: 56.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/3.611, allocations: 1.26 MB / 1.937 GB, free: 55.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/3.611, allocations: 7.938 kB / 1.937 GB, free: 55.19 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/3.611, allocations: 4 kB / 1.937 GB, free: 55.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/3.611, allocations: 35.98 kB / 1.937 GB, free: 55.15 MB / 0.948 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.008369/3.62, allocations: 6.713 MB / 1.944 GB, free: 48.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/3.621, allocations: 0.5561 MB / 1.944 GB, free: 47.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/3.621, allocations: 310.5 kB / 1.945 GB, free: 47.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009949/3.622, allocations: 1.263 MB / 1.946 GB, free: 45.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/3.622, allocations: 47.11 kB / 1.946 GB, free: 45.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 3.016e-06/3.622, allocations: 4 kB / 1.946 GB, free: 45.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.002561/3.625, allocations: 0.8738 MB / 1.947 GB, free: 44.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/3.625, allocations: 107.4 kB / 1.947 GB, free: 44.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/3.626, allocations: 0.9588 MB / 1.948 GB, free: 43.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/3.626, allocations: 37.69 kB / 1.948 GB, free: 43.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/3.627, allocations: 0.7173 MB / 1.948 GB, free: 42.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/3.627, allocations: 208.9 kB / 1.949 GB, free: 42.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/3.627, allocations: 7.938 kB / 1.949 GB, free: 42.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/3.627, allocations: 338 kB / 1.949 GB, free: 42.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/3.627, allocations: 278.6 kB / 1.949 GB, free: 42.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/3.628, allocations: 0.5685 MB / 1.95 GB, free: 41.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/3.63, allocations: 473.9 kB / 1.95 GB, free: 40.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/3.63, allocations: 4 kB / 1.95 GB, free: 40.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002784/3.633, allocations: 1.147 MB / 1.951 GB, free: 39.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/3.633, allocations: 2.467 MB / 1.954 GB, free: 37.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/3.633, allocations: 4 kB / 1.954 GB, free: 37.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/3.634, allocations: 359.2 kB / 1.954 GB, free: 36.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/3.635, allocations: 243.6 kB / 1.954 GB, free: 36.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/3.636, allocations: 1.072 MB / 1.955 GB, free: 35.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/3.639, allocations: 211 kB / 1.956 GB, free: 35.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/3.639, allocations: 56.02 kB / 1.956 GB, free: 35.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/3.639, allocations: 4 kB / 1.956 GB, free: 35.16 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/3.641, allocations: 0.9936 MB / 1.957 GB, free: 34.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/3.641, allocations: 4 kB / 1.957 GB, free: 34.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006955/3.642, allocations: 373.4 kB / 1.957 GB, free: 33.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/3.643, allocations: 239.6 kB / 1.957 GB, free: 33.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/3.644, allocations: 1.064 MB / 1.958 GB, free: 32.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/3.646, allocations: 187.1 kB / 1.958 GB, free: 32.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/3.647, allocations: 52.02 kB / 1.959 GB, free: 32.23 MB / 0.948 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.0003097/3.647, allocations: 128.7 kB / 1.959 GB, free: 32.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00251/3.649, allocations: 0.8655 MB / 1.959 GB, free: 31.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/3.65, allocations: 126.5 kB / 1.96 GB, free: 31.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/3.652, allocations: 0.9848 MB / 1.961 GB, free: 30.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/3.652, allocations: 8 kB / 1.961 GB, free: 30.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/3.652, allocations: 3.984 kB / 1.961 GB, free: 30.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002023/3.655, allocations: 0.8812 MB / 1.961 GB, free: 29.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005853/3.66, allocations: 2.916 MB / 1.964 GB, free: 26.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/3.66, allocations: 7.984 kB / 1.964 GB, free: 26.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008845/3.661, allocations: 152.2 kB / 1.964 GB, free: 25.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006941/3.662, allocations: 344.7 kB / 1.965 GB, free: 25.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/3.662, allocations: 19.97 kB / 1.965 GB, free: 25.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/3.664, allocations: 1.143 MB / 1.966 GB, free: 24.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/3.664, allocations: 4 kB / 1.966 GB, free: 24.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/3.667, allocations: 1.288 MB / 1.967 GB, free: 22.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/3.667, allocations: 363.2 kB / 1.968 GB, free: 22.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/3.668, allocations: 12 kB / 1.968 GB, free: 22.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/3.669, allocations: 119.8 kB / 1.968 GB, free: 22.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/3.67, allocations: 60.25 kB / 1.968 GB, free: 22.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/3.67, allocations: 39.95 kB / 1.968 GB, free: 22.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001217/3.671, allocations: 0.729 MB / 1.968 GB, free: 21.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.3e-07/3.671, allocations: 0 / 1.968 GB, free: 21.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003527/3.674, allocations: 0.9819 MB / 1.969 GB, free: 20.65 MB / 0.948 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.005681/3.68, allocations: 3.541 MB / 1.973 GB, free: 16.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002944/3.683, allocations: 1.247 MB / 1.974 GB, free: 15.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/3.683, allocations: 3.781 kB / 1.974 GB, free: 15.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/3.685, allocations: 449.4 kB / 1.975 GB, free: 15.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/3.689, allocations: 0.5827 MB / 1.975 GB, free: 14.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/3.695, allocations: 2.073 MB / 1.977 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/3.696, allocations: 1.235 MB / 1.978 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002327/3.698, allocations: 365.6 kB / 1.979 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/3.699, allocations: 0.5266 MB / 1.979 GB, free: 10.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/3.699, allocations: 0 / 1.979 GB, free: 10.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6249/4.324, allocations: 45.14 MB / 2.023 GB, free: 167.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/4.324, allocations: 194.6 kB / 2.023 GB, free: 167.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/7.839, allocations: 2.562 kB / 2.023 GB, free: 167.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)