Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.299/2.299, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 192.2 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 102.3 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 56.94 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2727, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.04926/0.322, allocations: 69.49 MB / 1.286 GB, free: 47.56 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.3381, allocations: 14.66 MB / 1.3 GB, free: 32.86 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.3411, allocations: 67.56 kB / 1.3 GB, free: 32.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.3435, allocations: 0.7537 MB / 1.301 GB, free: 32.04 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.3548, allocations: 2.352 MB / 1.303 GB, free: 29.68 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007128/0.3619, allocations: 1.773 MB / 1.305 GB, free: 27.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006281/0.3682, allocations: 5.899 MB / 1.311 GB, free: 22 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.3702, allocations: 1.318 MB / 1.312 GB, free: 20.66 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.373, allocations: 1.49 MB / 1.314 GB, free: 19.16 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.3749, allocations: 1.252 MB / 1.315 GB, free: 17.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.3751, allocations: 84 kB / 1.315 GB, free: 17.82 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.379, allocations: 1.761 MB / 1.317 GB, free: 16.06 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.3794, allocations: 362.5 kB / 1.317 GB, free: 15.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.3806, allocations: 0.9134 MB / 1.318 GB, free: 14.79 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.3851, allocations: 3.405 MB / 1.321 GB, free: 11.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3851, allocations: 0 / 1.321 GB, free: 11.37 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3851, allocations: 0 / 1.321 GB, free: 11.37 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.424e-05/0.3852, allocations: 0 / 1.321 GB, free: 11.37 MB / 0.823 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.003814/0.389, allocations: 2.298 MB / 1.323 GB, free: 9.004 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.389, allocations: 11.98 kB / 1.323 GB, free: 8.992 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/0.3936, allocations: 0.6541 MB / 1.324 GB, free: 8.336 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.396, allocations: 1.551 MB / 1.326 GB, free: 6.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3961, allocations: 139.9 kB / 1.326 GB, free: 6.586 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.3963, allocations: 116 kB / 1.326 GB, free: 6.473 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/0.3994, allocations: 1.619 MB / 1.327 GB, free: 4.758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.3995, allocations: 0 / 1.327 GB, free: 4.758 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.3996, allocations: 51.94 kB / 1.327 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.3996, allocations: 39.92 kB / 1.327 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.4036, allocations: 1.417 MB / 1.329 GB, free: 3.242 MB / 0.823 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.008948/0.4125, allocations: 7.172 MB / 1.336 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.4147, allocations: 0.7954 MB / 1.337 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.4163, allocations: 484.3 kB / 1.337 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.4174, allocations: 1.263 MB / 1.338 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4175, allocations: 55.06 kB / 1.338 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 4.318e-06/0.4175, allocations: 3.984 kB / 1.338 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.009385/0.4269, allocations: 2.112 MB / 1.34 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.427, allocations: 111.4 kB / 1.341 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.4292, allocations: 1.363 MB / 1.342 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.4293, allocations: 37.7 kB / 1.342 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.4299, allocations: 0.6958 MB / 1.343 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.4302, allocations: 236.6 kB / 1.343 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.4306, allocations: 222.3 kB / 1.343 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4307, allocations: 345.9 kB / 1.343 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.4325, allocations: 492.5 kB / 1.344 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.4344, allocations: 0.7355 MB / 1.345 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.4377, allocations: 1.098 MB / 1.346 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4377, allocations: 3.938 kB / 1.346 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004853/0.4426, allocations: 1.512 MB / 1.347 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.4427, allocations: 8 kB / 1.347 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.4427, allocations: 8 kB / 1.347 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.4444, allocations: 450.2 kB / 1.348 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.4457, allocations: 243.6 kB / 1.348 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.4473, allocations: 1.064 MB / 1.349 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.4499, allocations: 251.7 kB / 1.349 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.4501, allocations: 55.89 kB / 1.349 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002487/0.4525, allocations: 0.7751 MB / 1.35 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001933/0.4545, allocations: 0.7355 MB / 1.351 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003315/0.4578, allocations: 1.094 MB / 1.352 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.4578, allocations: 0 / 1.352 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004873/0.4627, allocations: 1.5 MB / 1.353 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4628, allocations: 8 kB / 1.353 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4628, allocations: 4 kB / 1.353 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.4644, allocations: 446.9 kB / 1.354 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.4657, allocations: 247.6 kB / 1.354 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.4672, allocations: 1.064 MB / 1.355 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.4697, allocations: 211.3 kB / 1.355 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.4698, allocations: 51.95 kB / 1.355 GB, free: 7.133 MB / 0.8542 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003904/0.4702, allocations: 240 kB / 1.355 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/0.4707, allocations: 150.2 kB / 1.355 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.4747, allocations: 1.276 MB / 1.357 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4747, allocations: 4.188 kB / 1.357 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4748, allocations: 0 / 1.357 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003247/0.478, allocations: 1.092 MB / 1.358 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007905/0.4859, allocations: 3.379 MB / 1.361 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.486, allocations: 4.312 kB / 1.361 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.4869, allocations: 147.7 kB / 1.361 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.4884, allocations: 442.5 kB / 1.362 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.4885, allocations: 27.97 kB / 1.362 GB, free: 128 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.4899, allocations: 1.052 MB / 1.363 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.4899, allocations: 4 kB / 1.363 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006663/0.4966, allocations: 2.667 MB / 1.365 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.4979, allocations: 355 kB / 1.366 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005397/0.4984, allocations: 16 kB / 1.366 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/0.5006, allocations: 144 kB / 1.366 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.5008, allocations: 60.23 kB / 1.366 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.5009, allocations: 39.95 kB / 1.366 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002206/0.5031, allocations: 0.9654 MB / 1.367 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5031, allocations: 0 / 1.367 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004187/0.5073, allocations: 0.9122 MB / 1.368 GB, free: 9.766 MB / 0.8698 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/0.5092, allocations: 0.5436 MB / 1.368 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006827/0.5161, allocations: 1.775 MB / 1.37 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.5161, allocations: 0 / 1.37 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.518, allocations: 0.517 MB / 1.371 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005154/0.5232, allocations: 0.7781 MB / 1.371 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/0.5304, allocations: 3.456 MB / 1.375 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.5316, allocations: 1.23 MB / 1.376 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002254/0.5339, allocations: 341.3 kB / 1.376 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.5343, allocations: 123.3 kB / 1.376 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of SimCode: time 1.292e-06/0.5344, allocations: 0 / 1.376 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of Templates: time 0.06754/0.6019, allocations: 37.85 MB / 1.413 GB, free: 11.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)