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.844/1.844, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001254/0.001253, allocations: 181 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.0009597/0.0009595, allocations: 95.75 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3104, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.867/2.178, allocations: 423.2 MB / 1.402 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/2.178, allocations: 93.23 kB / 1.402 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.883/4.061, allocations: 0.549 GB / 1.951 GB, free: 141.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.417e-06/4.061, allocations: 0 / 1.951 GB, free: 141.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004198/4.062, allocations: 41.38 kB / 1.951 GB, free: 141.4 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.01044/4.072, allocations: 2.11 MB / 1.953 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.811e-05/4.072, allocations: 11.67 kB / 1.953 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001141/4.074, allocations: 186.2 kB / 1.953 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/4.079, allocations: 0.6108 MB / 1.954 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006379/4.085, allocations: 1.773 MB / 1.955 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/4.086, allocations: 131.5 kB / 1.956 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004955/4.086, allocations: 116 kB / 1.956 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/4.091, allocations: 1.623 MB / 1.957 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/4.091, allocations: 0 / 1.957 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/4.092, allocations: 52.86 kB / 1.957 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/4.092, allocations: 39.94 kB / 1.957 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/4.097, allocations: 1.434 MB / 1.959 GB, free: 133.9 MB / 0.948 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.01302/4.11, allocations: 6.993 MB / 1.966 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/4.112, allocations: 0.7258 MB / 1.966 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/4.113, allocations: 1.27 MB / 1.968 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/4.113, allocations: 43.12 kB / 1.968 GB, free: 124.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 4.258e-06/4.113, allocations: 0.5625 kB / 1.968 GB, free: 124.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.01165/4.125, allocations: 2.39 MB / 1.97 GB, free: 121.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/4.125, allocations: 111.4 kB / 1.97 GB, free: 121.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/4.129, allocations: 1.258 MB / 1.971 GB, free: 120.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/4.129, allocations: 45.7 kB / 1.971 GB, free: 120.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008913/4.13, allocations: 0.6989 MB / 1.972 GB, free: 119.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/4.13, allocations: 228.3 kB / 1.972 GB, free: 119.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/4.13, allocations: 12 kB / 1.972 GB, free: 119.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/4.13, allocations: 337.9 kB / 1.972 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/4.132, allocations: 469.7 kB / 1.973 GB, free: 118.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/4.134, allocations: 0.7592 MB / 1.974 GB, free: 117.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/4.136, allocations: 0.5135 MB / 1.974 GB, free: 117.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/4.136, allocations: 4 kB / 1.974 GB, free: 117.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00499/4.141, allocations: 1.483 MB / 1.976 GB, free: 115.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007005/4.142, allocations: 2.494 MB / 1.978 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/4.142, allocations: 8 kB / 1.978 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/4.144, allocations: 456.9 kB / 1.979 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/4.145, allocations: 243.6 kB / 1.979 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/4.146, allocations: 1.075 MB / 1.98 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/4.149, allocations: 278.6 kB / 1.98 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/4.15, allocations: 51.95 kB / 1.98 GB, free: 111.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/4.15, allocations: 4 kB / 1.98 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004293/4.154, allocations: 1.318 MB / 1.981 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/4.154, allocations: 11.94 kB / 1.981 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/4.156, allocations: 468.5 kB / 1.982 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/4.157, allocations: 239.6 kB / 1.982 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/4.158, allocations: 1.064 MB / 1.983 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/4.161, allocations: 234.8 kB / 1.983 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/4.161, allocations: 51.95 kB / 1.983 GB, free: 107.7 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 () * Number of clocked 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001263/4.163, allocations: 460.7 kB / 1.984 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/4.163, allocations: 142.2 kB / 1.984 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/4.168, allocations: 1.22 MB / 1.985 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/4.168, allocations: 4 kB / 1.985 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/4.168, allocations: 0 / 1.985 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003234/4.171, allocations: 1.104 MB / 1.986 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009204/4.18, allocations: 3.308 MB / 1.989 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/4.18, allocations: 7.953 kB / 1.989 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/4.181, allocations: 152 kB / 1.99 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/4.183, allocations: 456.3 kB / 1.99 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/4.183, allocations: 27.97 kB / 1.99 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/4.184, allocations: 1.06 MB / 1.991 GB, free: 99.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/4.184, allocations: 4 kB / 1.991 GB, free: 99.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/4.189, allocations: 1.556 MB / 1.993 GB, free: 97.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/4.19, allocations: 387 kB / 1.993 GB, free: 97.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00068/4.191, allocations: 19.98 kB / 1.993 GB, free: 97.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/4.193, allocations: 139.8 kB / 1.993 GB, free: 97.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/4.193, allocations: 56.3 kB / 1.993 GB, free: 97.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/4.193, allocations: 43.95 kB / 1.993 GB, free: 97.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00247/4.196, allocations: 0.9888 MB / 1.994 GB, free: 96.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/4.196, allocations: 0 / 1.994 GB, free: 96.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004782/4.201, allocations: 0.9824 MB / 1.995 GB, free: 95.13 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) * Number of clocked states: 0 () * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00755/4.208, allocations: 3.796 MB / 1.999 GB, free: 91.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006546/4.215, allocations: 1.743 MB / 2.001 GB, free: 89.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/4.215, allocations: 8.375 kB / 2.001 GB, free: 89.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/4.217, allocations: 0.5173 MB / 2.001 GB, free: 89.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/4.221, allocations: 0.7812 MB / 2.002 GB, free: 88.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/4.248, allocations: 13.22 MB / 2.015 GB, free: 74.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/4.25, allocations: 1.242 MB / 2.016 GB, free: 73.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002534/4.252, allocations: 338.7 kB / 2.016 GB, free: 72.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/4.253, allocations: 0.5577 MB / 2.017 GB, free: 72.42 MB / 0.948 GB Notification: Performance of SimCode: time 1.476e-05/4.253, allocations: 3.938 kB / 2.017 GB, free: 72.42 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09176/4.345, allocations: 54.08 MB / 2.07 GB, free: 18.75 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/4.345, allocations: 265.7 kB / 2.07 GB, free: 18.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.022/8.368, allocations: 0 / 2.07 GB, free: 18.39 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)