Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.723/2.723, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001556/0.001556, allocations: 190.2 kB / 370.8 MB, free: 10.85 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.202/2.202, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 84.03 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005679, allocations: 12.62 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2391, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.09811/0.3372, allocations: 58.51 MB / 1.035 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02877/0.3661, allocations: 12.14 MB / 1.047 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.3693, allocations: 55.62 kB / 1.047 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.3738, allocations: 0.7928 MB / 1.048 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.3847, allocations: 2.175 MB / 1.05 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009461/0.3942, allocations: 1.904 MB / 1.052 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007569/0.4018, allocations: 2.617 MB / 1.055 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.4051, allocations: 1.152 MB / 1.056 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/0.4099, allocations: 1.261 MB / 1.057 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.4125, allocations: 0.8166 MB / 1.058 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006609/0.4132, allocations: 68 kB / 1.058 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00549/0.4187, allocations: 1.17 MB / 1.059 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.4198, allocations: 298.8 kB / 1.059 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.421, allocations: 396.8 kB / 1.06 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006221/0.4272, allocations: 2.424 MB / 1.062 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4273, allocations: 0 / 1.062 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.977e-06/0.4273, allocations: 0 / 1.062 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.652e-05/0.4274, allocations: 0 / 1.062 GB, free: 6.328 MB / 0.6823 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.006514/0.434, allocations: 1.916 MB / 1.064 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.434, allocations: 8.031 kB / 1.064 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006871/0.4347, allocations: 177.3 kB / 1.064 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009676/0.4444, allocations: 0.6925 MB / 1.065 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.449, allocations: 1.425 MB / 1.066 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.4493, allocations: 128 kB / 1.066 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.4498, allocations: 123.9 kB / 1.066 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007574/0.4574, allocations: 1.623 MB / 1.068 GB, free: 4 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/0.4575, allocations: 4 kB / 1.068 GB, free: 0 / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.6649/1.122, allocations: 46.64 kB / 1.068 GB, free: 89.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/1.123, allocations: 33.28 kB / 1.068 GB, free: 89.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009818/1.132, allocations: 1.466 MB / 1.069 GB, free: 89.82 MB / 0.6823 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.01862/1.151, allocations: 7.242 MB / 1.077 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004644/1.156, allocations: 0.8177 MB / 1.077 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/1.158, allocations: 1.266 MB / 1.079 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/1.158, allocations: 44.06 kB / 1.079 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.637e-06/1.158, allocations: 0.9375 kB / 1.079 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.01952/1.177, allocations: 2.213 MB / 1.081 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.177, allocations: 112.6 kB / 1.081 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/1.182, allocations: 1.397 MB / 1.082 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003156/1.182, allocations: 44.2 kB / 1.082 GB, free: 81.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008886/1.183, allocations: 0.6882 MB / 1.083 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/1.183, allocations: 241.4 kB / 1.083 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.184, allocations: 15.5 kB / 1.083 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.184, allocations: 340.4 kB / 1.084 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/1.187, allocations: 0.4943 MB / 1.084 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/1.192, allocations: 0.7657 MB / 1.085 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/1.196, allocations: 0.5518 MB / 1.085 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/1.196, allocations: 2.562 kB / 1.085 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00985/1.206, allocations: 1.544 MB / 1.087 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006161/1.206, allocations: 2.496 MB / 1.089 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.206, allocations: 6.578 kB / 1.089 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/1.209, allocations: 458.9 kB / 1.09 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.212, allocations: 259 kB / 1.09 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/1.215, allocations: 1.072 MB / 1.091 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/1.219, allocations: 272.6 kB / 1.091 GB, free: 75.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003715/1.22, allocations: 53.16 kB / 1.091 GB, free: 75.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.22, allocations: 11.73 kB / 1.091 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009118/1.229, allocations: 1.391 MB / 1.093 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.229, allocations: 10.5 kB / 1.093 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/1.232, allocations: 464.6 kB / 1.093 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.234, allocations: 263 kB / 1.093 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/1.237, allocations: 1.074 MB / 1.094 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/1.241, allocations: 249 kB / 1.095 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/1.242, allocations: 53.62 kB / 1.095 GB, free: 74.45 MB / 0.6823 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 (82): * Single equations (assignments): 81 * 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.001501/1.243, allocations: 452.9 kB / 1.095 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006719/1.244, allocations: 146.9 kB / 1.095 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008148/1.252, allocations: 1.316 MB / 1.097 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/1.252, allocations: 7.75 kB / 1.097 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.252, allocations: 0.6562 kB / 1.097 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007077/1.259, allocations: 1.13 MB / 1.098 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.274, allocations: 3.449 MB / 1.101 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/1.274, allocations: 7.938 kB / 1.101 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/1.276, allocations: 169.1 kB / 1.101 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/1.279, allocations: 446.5 kB / 1.102 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/1.279, allocations: 26.03 kB / 1.102 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/1.282, allocations: 1.069 MB / 1.103 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.282, allocations: 4.469 kB / 1.103 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007562/1.289, allocations: 1.635 MB / 1.104 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.291, allocations: 408.1 kB / 1.105 GB, free: 69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004275/1.291, allocations: 16.56 kB / 1.105 GB, free: 69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/1.295, allocations: 151.6 kB / 1.105 GB, free: 68.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/1.295, allocations: 57.08 kB / 1.105 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.295, allocations: 41.28 kB / 1.105 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00308/1.298, allocations: 0.9875 MB / 1.106 GB, free: 68.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.343e-06/1.298, allocations: 6.297 kB / 1.106 GB, free: 68.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005606/1.304, allocations: 0.9001 MB / 1.107 GB, free: 68.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (42): * Single equations (assignments): 39 * 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.01018/1.314, allocations: 3.677 MB / 1.11 GB, free: 65.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.326, allocations: 1.84 MB / 1.112 GB, free: 64.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/1.327, allocations: 5.25 kB / 1.112 GB, free: 64.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.33, allocations: 0.5361 MB / 1.113 GB, free: 64.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007013/1.337, allocations: 0.7766 MB / 1.113 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/1.351, allocations: 8.145 MB / 1.121 GB, free: 57.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.352, allocations: 1.24 MB / 1.123 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003281/1.356, allocations: 343.7 kB / 1.123 GB, free: 56.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.357, allocations: 0.5613 MB / 1.124 GB, free: 55.54 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/1.357, allocations: 0 / 1.124 GB, free: 55.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/1.483, allocations: 49.21 MB / 1.172 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/1.483, allocations: 276.1 kB / 1.172 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.634/6.118, allocations: 4 kB / 1.172 GB, free: 11.4 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)