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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.673/2.673, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001564/0.001564, allocations: 182.2 kB / 370.8 MB, free: 10.87 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.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001105/0.001105, allocations: 95.39 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004982, allocations: 12.8 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.08274/0.3173, allocations: 58.5 MB / 1.035 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.3438, allocations: 12.14 MB / 1.047 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.3466, allocations: 59.56 kB / 1.047 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003885/0.3505, allocations: 0.785 MB / 1.048 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009569/0.3602, allocations: 2.179 MB / 1.05 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008652/0.3688, allocations: 1.89 MB / 1.052 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00726/0.3761, allocations: 2.635 MB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.3787, allocations: 1.149 MB / 1.056 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/0.3824, allocations: 1.253 MB / 1.057 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.3842, allocations: 0.8166 MB / 1.058 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.3845, allocations: 68 kB / 1.058 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004426/0.3889, allocations: 1.166 MB / 1.059 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.3895, allocations: 302.8 kB / 1.059 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.3902, allocations: 392.8 kB / 1.06 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.3951, allocations: 2.42 MB / 1.062 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3952, allocations: 4 kB / 1.062 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3952, allocations: 0 / 1.062 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.248e-05/0.3953, allocations: 4 kB / 1.062 GB, free: 6.461 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.005267/0.4005, allocations: 1.916 MB / 1.064 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4006, allocations: 8.031 kB / 1.064 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009393/0.41, allocations: 0.6963 MB / 1.064 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.4139, allocations: 1.429 MB / 1.066 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.4141, allocations: 128 kB / 1.066 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.4145, allocations: 124 kB / 1.066 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006475/0.421, allocations: 1.619 MB / 1.068 GB, free: 324 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/0.421, allocations: 3.938 kB / 1.068 GB, free: 320 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.4213, allocations: 56 kB / 1.068 GB, free: 264 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/0.4214, allocations: 35.98 kB / 1.068 GB, free: 228 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6193/1.041, allocations: 1.459 MB / 1.069 GB, free: 89.81 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.01633/1.057, allocations: 7.23 MB / 1.076 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/1.061, allocations: 0.8251 MB / 1.077 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/1.063, allocations: 1.265 MB / 1.078 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/1.063, allocations: 47 kB / 1.078 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.646e-06/1.063, allocations: 0 / 1.078 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.01861/1.082, allocations: 2.21 MB / 1.081 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.082, allocations: 112.7 kB / 1.081 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/1.086, allocations: 1.401 MB / 1.082 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003111/1.086, allocations: 45.19 kB / 1.082 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009139/1.087, allocations: 0.6843 MB / 1.083 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/1.087, allocations: 236.3 kB / 1.083 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/1.088, allocations: 20.88 kB / 1.083 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.088, allocations: 340.5 kB / 1.083 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00379/1.092, allocations: 499.5 kB / 1.084 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/1.096, allocations: 0.7729 MB / 1.085 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/1.1, allocations: 0.5446 MB / 1.085 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/1.1, allocations: 2.094 kB / 1.085 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.009445/1.109, allocations: 1.548 MB / 1.087 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005658/1.11, allocations: 2.49 MB / 1.089 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/1.11, allocations: 6.531 kB / 1.089 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/1.112, allocations: 465.8 kB / 1.089 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/1.115, allocations: 255.9 kB / 1.09 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/1.118, allocations: 1.079 MB / 1.091 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/1.122, allocations: 276.7 kB / 1.091 GB, free: 75.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/1.122, allocations: 53.61 kB / 1.091 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.122, allocations: 3.906 kB / 1.091 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008512/1.131, allocations: 1.393 MB / 1.092 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.131, allocations: 10.22 kB / 1.092 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/1.133, allocations: 469.6 kB / 1.093 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/1.136, allocations: 259.2 kB / 1.093 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.139, allocations: 1.079 MB / 1.094 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/1.143, allocations: 248 kB / 1.094 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/1.143, allocations: 53.7 kB / 1.094 GB, free: 74.49 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.001154/1.144, allocations: 448.2 kB / 1.095 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/1.145, allocations: 145.3 kB / 1.095 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007689/1.152, allocations: 1.327 MB / 1.096 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/1.152, allocations: 7.594 kB / 1.096 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.152, allocations: 1.312 kB / 1.096 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006839/1.159, allocations: 1.129 MB / 1.097 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/1.174, allocations: 3.454 MB / 1.101 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/1.174, allocations: 7.453 kB / 1.101 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.176, allocations: 159 kB / 1.101 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/1.178, allocations: 446.6 kB / 1.101 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.178, allocations: 24.09 kB / 1.101 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/1.181, allocations: 1.062 MB / 1.102 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.181, allocations: 12.39 kB / 1.102 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007254/1.188, allocations: 1.628 MB / 1.104 GB, free: 69.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.189, allocations: 402.4 kB / 1.104 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/1.19, allocations: 16.09 kB / 1.104 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003542/1.193, allocations: 157.5 kB / 1.105 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/1.193, allocations: 57.84 kB / 1.105 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.194, allocations: 48.38 kB / 1.105 GB, free: 69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002957/1.197, allocations: 0.9877 MB / 1.106 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/1.197, allocations: 0 / 1.106 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004633/1.201, allocations: 0.8967 MB / 1.107 GB, free: 68.45 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.001953/1.203, allocations: 0.5485 MB / 1.107 GB, free: 68.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.215, allocations: 1.84 MB / 1.109 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.215, allocations: 2.688 kB / 1.109 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.219, allocations: 0.5389 MB / 1.109 GB, free: 67.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0068/1.226, allocations: 0.7743 MB / 1.11 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/1.235, allocations: 2.985 MB / 1.113 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/1.236, allocations: 1.237 MB / 1.114 GB, free: 63.96 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003151/1.24, allocations: 345.9 kB / 1.115 GB, free: 63.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/1.24, allocations: 120.8 kB / 1.115 GB, free: 63.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.904e-06/1.24, allocations: 1.094 kB / 1.115 GB, free: 63.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.08735/1.328, allocations: 36.63 MB / 1.151 GB, free: 33.52 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)