Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 178.5 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205 MB / 0.5766 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008203/0.0008204, allocations: 93.98 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003495, allocations: 8.688 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.04721/0.3093, allocations: 69.19 MB / 0.9643 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02152/0.3309, allocations: 14.85 MB / 0.9788 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/0.3343, allocations: 67.56 kB / 0.9789 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.3368, allocations: 0.7498 MB / 0.9796 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.3435, allocations: 2.342 MB / 0.9819 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.3483, allocations: 1.807 MB / 0.9837 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006761/0.355, allocations: 5.889 MB / 0.9894 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.3573, allocations: 1.25 MB / 0.9906 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.3608, allocations: 1.466 MB / 0.9921 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.3631, allocations: 1.209 MB / 0.9932 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.3634, allocations: 68 kB / 0.9933 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.3678, allocations: 1.825 MB / 0.9951 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.3683, allocations: 326.5 kB / 0.9954 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.3697, allocations: 0.8705 MB / 0.9962 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004149/0.3738, allocations: 2.708 MB / 0.9989 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3739, allocations: 0 / 0.9989 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3739, allocations: 0 / 0.9989 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.758e-05/0.3739, allocations: 0 / 0.9989 GB, free: 11.17 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003834/0.3778, allocations: 2.029 MB / 1.001 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3778, allocations: 12.03 kB / 1.001 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.3829, allocations: 0.6973 MB / 1.002 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.3861, allocations: 1.549 MB / 1.003 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.3863, allocations: 128 kB / 1.003 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.3865, allocations: 124 kB / 1.003 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.3905, allocations: 1.648 MB / 1.005 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3906, allocations: 11.88 kB / 1.005 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.3907, allocations: 52 kB / 1.005 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.3908, allocations: 32 kB / 1.005 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/0.3952, allocations: 1.499 MB / 1.006 GB, free: 3.164 MB / 0.6511 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.01033/0.4056, allocations: 6.977 MB / 1.013 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.4079, allocations: 0.7989 MB / 1.014 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.4095, allocations: 0.5061 MB / 1.015 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.4109, allocations: 1.274 MB / 1.016 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/0.4128, allocations: 0.6558 MB / 1.016 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 2.745e-06/0.4128, allocations: 0 / 1.016 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.01017/0.423, allocations: 2.181 MB / 1.019 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.4232, allocations: 325 kB / 1.019 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.4256, allocations: 1.383 MB / 1.02 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.4257, allocations: 45.7 kB / 1.02 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/0.4264, allocations: 0.6919 MB / 1.021 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.4267, allocations: 244.6 kB / 1.021 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.4268, allocations: 81.67 kB / 1.021 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4269, allocations: 341.9 kB / 1.022 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.4288, allocations: 0.525 MB / 1.022 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.431, allocations: 0.8364 MB / 1.023 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/0.4345, allocations: 1.22 MB / 1.024 GB, free: 68 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4346, allocations: 0 / 1.024 GB, free: 68 kB / 0.6667 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006393/0.441, allocations: 1.693 MB / 1.026 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.4412, allocations: 306.2 kB / 1.026 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.4413, allocations: 8 kB / 1.026 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.4426, allocations: 353.8 kB / 1.026 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.444, allocations: 279.5 kB / 1.027 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.4453, allocations: 0.9042 MB / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.4478, allocations: 290.6 kB / 1.028 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.448, allocations: 59.94 kB / 1.028 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.448, allocations: 4 kB / 1.028 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006135/0.4541, allocations: 1.544 MB / 1.029 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.4542, allocations: 8.5 kB / 1.029 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.4554, allocations: 357.1 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.4568, allocations: 279.5 kB / 1.03 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.458, allocations: 0.8997 MB / 1.031 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.4605, allocations: 264.9 kB / 1.031 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.4606, allocations: 51.95 kB / 1.031 GB, free: 8.645 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: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001068/0.4617, allocations: 460.8 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.4621, allocations: 146.2 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.466, allocations: 1.277 MB / 1.033 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.466, allocations: 8 kB / 1.033 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4661, allocations: 4 kB / 1.033 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003302/0.4694, allocations: 1.092 MB / 1.034 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007394/0.4768, allocations: 3.31 MB / 1.037 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.4768, allocations: 4 kB / 1.037 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.4778, allocations: 175.9 kB / 1.038 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.4789, allocations: 335.5 kB / 1.038 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.479, allocations: 35.91 kB / 1.038 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.4802, allocations: 0.8969 MB / 1.039 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.4803, allocations: 7.938 kB / 1.039 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.486, allocations: 1.969 MB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/0.4869, allocations: 351 kB / 1.041 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.4871, allocations: 20 kB / 1.041 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.4888, allocations: 163.7 kB / 1.041 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.4889, allocations: 72.22 kB / 1.041 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/0.489, allocations: 31.97 kB / 1.041 GB, free: 14.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001613/0.4906, allocations: 0.9899 MB / 1.042 GB, free: 13.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4907, allocations: 0 / 1.042 GB, free: 13.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002463/0.4931, allocations: 0.9437 MB / 1.043 GB, free: 12.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.4945, allocations: 0.5997 MB / 1.044 GB, free: 11.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006406/0.5009, allocations: 2.023 MB / 1.046 GB, free: 9.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.5009, allocations: 0 / 1.046 GB, free: 9.445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.5028, allocations: 0.5487 MB / 1.046 GB, free: 8.895 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/0.5075, allocations: 0.8294 MB / 1.047 GB, free: 8.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.514, allocations: 3.27 MB / 1.05 GB, free: 4.719 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.5148, allocations: 1.203 MB / 1.051 GB, free: 3.488 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.5154, allocations: 163.3 kB / 1.052 GB, free: 3.328 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/0.5154, allocations: 0 / 1.052 GB, free: 3.328 MB / 0.698 GB Notification: Performance of Templates: time 0.4468/0.9622, allocations: 36.64 MB / 1.087 GB, free: 134.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)