Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008621, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000859/0.000859, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 12.44 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.09662/0.3006, allocations: 109.3 MB / 0.8939 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.445/0.7456, allocations: 21.18 MB / 0.9146 GB, free: 39.78 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004291/0.75, allocations: 108.5 kB / 0.9147 GB, free: 39.78 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004793/0.7548, allocations: 1.456 MB / 0.9161 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01574/0.7705, allocations: 4.079 MB / 0.9201 GB, free: 39.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.7813, allocations: 3.155 MB / 0.9231 GB, free: 39.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.792, allocations: 5.079 MB / 0.9281 GB, free: 39.65 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.7962, allocations: 2.29 MB / 0.9303 GB, free: 39.37 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006361/0.8026, allocations: 2.435 MB / 0.9327 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.8068, allocations: 1.582 MB / 0.9343 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007228/0.8075, allocations: 132.8 kB / 0.9344 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007374/0.8149, allocations: 1.743 MB / 0.9361 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008992/0.8158, allocations: 0.5744 MB / 0.9367 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.8176, allocations: 0.733 MB / 0.9374 GB, free: 39.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.8239, allocations: 4.575 MB / 0.9418 GB, free: 39.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.8239, allocations: 0 / 0.9418 GB, free: 39.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8239, allocations: 0 / 0.9418 GB, free: 39.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001077/0.8241, allocations: 0 / 0.9418 GB, free: 39.02 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.007433/0.8315, allocations: 3.375 MB / 0.9451 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.8316, allocations: 9.094 kB / 0.9451 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009844/0.8414, allocations: 1.371 MB / 0.9465 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007023/0.8485, allocations: 2.69 MB / 0.9491 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.8488, allocations: 261.3 kB / 0.9494 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/0.8493, allocations: 236.4 kB / 0.9496 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007752/0.8571, allocations: 3.166 MB / 0.9527 GB, free: 35.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.8571, allocations: 11.41 kB / 0.9527 GB, free: 35.79 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.8574, allocations: 102 kB / 0.9528 GB, free: 35.79 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.437e-05/0.8575, allocations: 74.3 kB / 0.9529 GB, free: 35.78 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00806/0.8656, allocations: 2.808 MB / 0.9556 GB, free: 35.24 MB / 0.7169 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.01868/0.8843, allocations: 13.69 MB / 0.969 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.8879, allocations: 1.44 MB / 0.9704 GB, free: 26.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.8894, allocations: 1.781 MB / 0.9721 GB, free: 24.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003074/0.8925, allocations: 1.149 MB / 0.9732 GB, free: 24.06 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.977e-06/0.8925, allocations: 0 / 0.9732 GB, free: 24.06 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.03007/0.9226, allocations: 9.716 MB / 0.9827 GB, free: 19.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/0.9228, allocations: 0.5887 MB / 0.9833 GB, free: 18.56 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/0.9269, allocations: 2.684 MB / 0.9859 GB, free: 17.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003662/0.9273, allocations: 68.78 kB / 0.986 GB, free: 17.86 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009709/0.9283, allocations: 1.336 MB / 0.9873 GB, free: 17.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.9288, allocations: 455.9 kB / 0.9877 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.9289, allocations: 33.69 kB / 0.9878 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.929, allocations: 377.6 kB / 0.9881 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003149/0.9321, allocations: 0.9408 MB / 0.989 GB, free: 16.46 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/0.9355, allocations: 1.542 MB / 0.9905 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.9387, allocations: 1.096 MB / 0.9916 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.9388, allocations: 3.312 kB / 0.9916 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.009186/0.948, allocations: 3.098 MB / 0.9946 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000864/0.9488, allocations: 5.243 MB / 0.9998 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.9489, allocations: 17.75 kB / 0.9998 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.9517, allocations: 0.921 MB / 1.001 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.9541, allocations: 480.2 kB / 1.001 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.9565, allocations: 2.195 MB / 1.003 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/0.9615, allocations: 402.1 kB / 1.004 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.9618, allocations: 101.1 kB / 1.004 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.9618, allocations: 10.97 kB / 1.004 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008413/0.9702, allocations: 2.809 MB / 1.007 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.9703, allocations: 12 kB / 1.007 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/0.9728, allocations: 0.9257 MB / 1.007 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.9749, allocations: 470.4 kB / 1.008 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.9772, allocations: 2.197 MB / 1.01 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/0.9816, allocations: 365.4 kB / 1.01 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.9818, allocations: 103.8 kB / 1.01 GB, free: 0.8945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001713/0.9835, allocations: 0.7033 MB / 1.011 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/0.9841, allocations: 280.6 kB / 1.011 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007833/0.9919, allocations: 2.373 MB / 1.014 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.992, allocations: 15.98 kB / 1.014 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.992, allocations: 4 kB / 1.014 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0068/0.9988, allocations: 1.988 MB / 1.016 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.014, allocations: 6.247 MB / 1.022 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/1.014, allocations: 8 kB / 1.022 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.016, allocations: 280.4 kB / 1.022 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/1.019, allocations: 0.7987 MB / 1.023 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.019, allocations: 51.94 kB / 1.023 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/1.021, allocations: 1.956 MB / 1.025 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.021, allocations: 11.09 kB / 1.025 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.034, allocations: 4.352 MB / 1.029 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.036, allocations: 0.673 MB / 1.03 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.037, allocations: 36 kB / 1.03 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004011/1.041, allocations: 289.5 kB / 1.03 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/1.041, allocations: 114.4 kB / 1.03 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.041, allocations: 71.88 kB / 1.03 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003825/1.045, allocations: 1.898 MB / 1.032 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.11e-07/1.045, allocations: 0 / 1.032 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007011/1.052, allocations: 1.5 MB / 1.034 GB, free: 9.586 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/1.055, allocations: 0.8274 MB / 1.034 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.066, allocations: 3.657 MB / 1.038 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.066, allocations: 5.5 kB / 1.038 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/1.07, allocations: 1.062 MB / 1.039 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007875/1.078, allocations: 1.486 MB / 1.04 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.092, allocations: 6.027 MB / 1.046 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/1.093, allocations: 1.767 MB / 1.048 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004083/1.098, allocations: 0.6557 MB / 1.049 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/1.098, allocations: 246 kB / 1.049 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of SimCode: time 9.92e-07/1.098, allocations: 0 / 1.049 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of Templates: time 0.1066/1.205, allocations: 70.6 MB / 1.118 GB, free: 4.547 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: