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.0009937/0.0009937, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008876/0.008876, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.669/1.669, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0006149/0.0006151, allocations: 16.12 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2342, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.6575/0.8917, allocations: 127.8 MB / 0.9127 GB, free: 40.21 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.037/0.9288, allocations: 24.78 MB / 0.9369 GB, free: 39.79 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008372/0.9372, allocations: 119.2 kB / 0.937 GB, free: 39.78 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007002/0.9443, allocations: 1.412 MB / 0.9384 GB, free: 39.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.9601, allocations: 4.184 MB / 0.9425 GB, free: 39.51 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01/0.9701, allocations: 3.195 MB / 0.9456 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01752/0.9877, allocations: 11.38 MB / 0.9567 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006522/0.9942, allocations: 2.529 MB / 0.9592 GB, free: 35.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007954/1.002, allocations: 2.775 MB / 0.9619 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00607/1.008, allocations: 2.316 MB / 0.9642 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00204/1.01, allocations: 131.2 kB / 0.9643 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009892/1.02, allocations: 2.479 MB / 0.9667 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/1.022, allocations: 0.6269 MB / 0.9673 GB, free: 32.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005091/1.027, allocations: 1.715 MB / 0.969 GB, free: 31.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/1.039, allocations: 6.064 MB / 0.9749 GB, free: 27.9 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.039, allocations: 0 / 0.9749 GB, free: 27.9 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/1.039, allocations: 0 / 0.9749 GB, free: 27.9 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002191/1.039, allocations: 0 / 0.9749 GB, free: 27.9 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.007999/1.047, allocations: 3.375 MB / 0.9782 GB, free: 25.45 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.047, allocations: 9.562 kB / 0.9782 GB, free: 25.45 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/1.058, allocations: 1.379 MB / 0.9796 GB, free: 24.88 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008144/1.066, allocations: 2.902 MB / 0.9824 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004629/1.067, allocations: 255.2 kB / 0.9827 GB, free: 22.51 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000778/1.068, allocations: 230.2 kB / 0.9829 GB, free: 22.44 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008031/1.076, allocations: 3.214 MB / 0.986 GB, free: 20.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/1.076, allocations: 8.844 kB / 0.986 GB, free: 20.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/1.076, allocations: 99.98 kB / 0.9861 GB, free: 20.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/1.076, allocations: 79.64 kB / 0.9862 GB, free: 20.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008562/1.085, allocations: 2.82 MB / 0.989 GB, free: 18.84 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.02172/1.107, allocations: 13.62 MB / 1.002 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/1.111, allocations: 1.445 MB / 1.004 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/1.113, allocations: 0.8847 MB / 1.005 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.115, allocations: 1.786 MB / 1.006 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003341/1.118, allocations: 1.158 MB / 1.007 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.928e-06/1.118, allocations: 4 kB / 1.007 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.03416/1.152, allocations: 9.833 MB / 1.017 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002942/1.153, allocations: 0.5805 MB / 1.018 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/1.158, allocations: 2.616 MB / 1.02 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006512/1.158, allocations: 57.7 kB / 1.02 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/1.16, allocations: 1.339 MB / 1.022 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007204/1.16, allocations: 466.2 kB / 1.022 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/1.161, allocations: 145.6 kB / 1.022 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.161, allocations: 313.1 kB / 1.022 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003861/1.165, allocations: 0.9564 MB / 1.023 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/1.169, allocations: 1.565 MB / 1.025 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007022/1.176, allocations: 2.227 MB / 1.027 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.176, allocations: 4 kB / 1.027 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01227/1.188, allocations: 3.179 MB / 1.03 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000361/1.189, allocations: 0.4886 MB / 1.031 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.189, allocations: 12 kB / 1.031 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/1.192, allocations: 0.9293 MB / 1.032 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/1.195, allocations: 483.2 kB / 1.032 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/1.198, allocations: 2.198 MB / 1.034 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/1.203, allocations: 403.2 kB / 1.035 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/1.203, allocations: 107.9 kB / 1.035 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.203, allocations: 7.938 kB / 1.035 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01105/1.215, allocations: 2.88 MB / 1.037 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/1.215, allocations: 16 kB / 1.037 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/1.218, allocations: 0.9295 MB / 1.038 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.22, allocations: 467.2 kB / 1.039 GB, free: 300 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/1.224, allocations: 2.206 MB / 1.041 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/1.229, allocations: 367.2 kB / 1.041 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/1.229, allocations: 103.9 kB / 1.041 GB, free: 13.57 MB / 0.7637 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,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 (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001674/1.231, allocations: 0.7043 MB / 1.042 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007021/1.231, allocations: 288.6 kB / 1.042 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007903/1.239, allocations: 2.309 MB / 1.045 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/1.239, allocations: 16 kB / 1.045 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.239, allocations: 7.938 kB / 1.045 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006331/1.246, allocations: 1.932 MB / 1.047 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.262, allocations: 6.28 MB / 1.053 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.263, allocations: 8.656 kB / 1.053 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.264, allocations: 295.6 kB / 1.053 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/1.267, allocations: 0.8041 MB / 1.054 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/1.267, allocations: 47.89 kB / 1.054 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/1.27, allocations: 1.966 MB / 1.056 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/1.27, allocations: 19.86 kB / 1.056 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.282, allocations: 3.555 MB / 1.059 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.284, allocations: 0.6496 MB / 1.06 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005891/1.285, allocations: 40.03 kB / 1.06 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/1.288, allocations: 283.6 kB / 1.06 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.288, allocations: 116.6 kB / 1.06 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.288, allocations: 71.92 kB / 1.06 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003086/1.291, allocations: 1.84 MB / 1.062 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.71e-07/1.291, allocations: 0 / 1.062 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004897/1.296, allocations: 1.48 MB / 1.064 GB, free: 6.566 MB / 0.7794 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001942/1.298, allocations: 0.7939 MB / 1.064 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.311, allocations: 3.693 MB / 1.068 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/1.311, allocations: 448 / 1.068 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003817/1.315, allocations: 1.069 MB / 1.069 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/1.326, allocations: 1.603 MB / 1.071 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.339, allocations: 6.305 MB / 1.077 GB, free: 9.086 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/1.34, allocations: 1.721 MB / 1.078 GB, free: 7.336 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003701/1.344, allocations: 0.6568 MB / 1.079 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/1.345, allocations: 251.3 kB / 1.079 GB, free: 6.441 MB / 0.795 GB Notification: Performance of SimCode: time 6.71e-07/1.345, allocations: 0 / 1.079 GB, free: 6.441 MB / 0.795 GB Notification: Performance of Templates: time 0.1196/1.464, allocations: 74.76 MB / 1.152 GB, free: 12.52 MB / 0.8731 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: