Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.147/2.147, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001251/0.001251, allocations: 178 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.002188/0.002189, allocations: 97.03 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007592/0.0007595, allocations: 18.81 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2121, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07717/0.2893, allocations: 64.52 MB / 0.9625 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02855/0.3179, allocations: 13.77 MB / 0.9759 GB, free: 3.031 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.3208, allocations: 63.56 kB / 0.976 GB, free: 2.969 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.3242, allocations: 0.6405 MB / 0.9766 GB, free: 2.324 MB / 0.6199 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009126/0.3333, allocations: 1.992 MB / 0.9786 GB, free: 336 kB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.006814/0.3402, allocations: 1.452 MB / 0.98 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009294/0.3495, allocations: 5.141 MB / 0.985 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/0.3526, allocations: 1.23 MB / 0.9862 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.3569, allocations: 1.388 MB / 0.9876 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.3597, allocations: 1.128 MB / 0.9887 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000652/0.3604, allocations: 71.94 kB / 0.9887 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005726/0.3662, allocations: 1.513 MB / 0.9902 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007457/0.367, allocations: 318.6 kB / 0.9905 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009249/0.3679, allocations: 400.8 kB / 0.9909 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005843/0.3738, allocations: 2.65 MB / 0.9935 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3738, allocations: 0 / 0.9935 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3738, allocations: 0 / 0.9935 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.294e-05/0.3739, allocations: 0 / 0.9935 GB, free: 0.9922 MB / 0.6355 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.005959/0.3798, allocations: 2.04 MB / 0.9955 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3799, allocations: 8.031 kB / 0.9955 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009453/0.3894, allocations: 0.6895 MB / 0.9962 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.3934, allocations: 1.507 MB / 0.9976 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.3937, allocations: 124 kB / 0.9978 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.394, allocations: 128 kB / 0.9979 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006582/0.4006, allocations: 1.64 MB / 0.9995 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.4007, allocations: 0 / 0.9995 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.4009, allocations: 55.98 kB / 0.9995 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/0.401, allocations: 35.98 kB / 0.9996 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008929/0.41, allocations: 1.492 MB / 1.001 GB, free: 9.043 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.0175/0.4275, allocations: 6.974 MB / 1.008 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.4319, allocations: 0.7829 MB / 1.009 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/0.4352, allocations: 0.5061 MB / 1.009 GB, free: 436 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/0.4373, allocations: 1.274 MB / 1.01 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003739/0.441, allocations: 0.648 MB / 1.011 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 5.922e-06/0.4411, allocations: 3.984 kB / 1.011 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.01966/0.4608, allocations: 2.169 MB / 1.013 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/0.461, allocations: 328.9 kB / 1.013 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.4646, allocations: 1.364 MB / 1.015 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.4649, allocations: 45.7 kB / 1.015 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009295/0.4659, allocations: 0.6958 MB / 1.015 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.4663, allocations: 240.6 kB / 1.016 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.4664, allocations: 16 kB / 1.016 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4666, allocations: 345.9 kB / 1.016 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/0.4705, allocations: 0.5289 MB / 1.017 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/0.4748, allocations: 0.8286 MB / 1.017 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/0.4789, allocations: 0.6021 MB / 1.018 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.479, allocations: 4 kB / 1.018 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01453/0.4935, allocations: 1.829 MB / 1.02 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003004/0.4939, allocations: 308.2 kB / 1.02 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.4939, allocations: 8 kB / 1.02 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.4961, allocations: 348.6 kB / 1.02 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.4992, allocations: 283.5 kB / 1.021 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.5014, allocations: 0.9051 MB / 1.022 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/0.5062, allocations: 291.3 kB / 1.022 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.5066, allocations: 55.94 kB / 1.022 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5066, allocations: 4 kB / 1.022 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01408/0.5207, allocations: 1.689 MB / 1.024 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.5207, allocations: 8.125 kB / 1.024 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.5228, allocations: 345 kB / 1.024 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.5259, allocations: 283.5 kB / 1.024 GB, free: 320 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.528, allocations: 0.8997 MB / 1.025 GB, free: 15.39 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/0.5325, allocations: 263.8 kB / 1.025 GB, free: 15.13 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/0.5329, allocations: 55.89 kB / 1.025 GB, free: 15.07 MB / 0.6824 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * 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 (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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001408/0.5343, allocations: 460.8 kB / 1.026 GB, free: 14.61 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00061/0.535, allocations: 146.2 kB / 1.026 GB, free: 14.47 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008321/0.5433, allocations: 1.279 MB / 1.027 GB, free: 13.17 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006972/0.5503, allocations: 1.08 MB / 1.028 GB, free: 12.06 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.5504, allocations: 4 kB / 1.028 GB, free: 12.06 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.5517, allocations: 379 kB / 1.029 GB, free: 11.67 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/0.5522, allocations: 16 kB / 1.029 GB, free: 11.65 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003481/0.5557, allocations: 171.7 kB / 1.029 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.556, allocations: 52.42 kB / 1.029 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01115/0.5672, allocations: 1.734 MB / 1.03 GB, free: 9.684 MB / 0.6824 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01082/0.578, allocations: 2.12 MB / 1.033 GB, free: 7.547 MB / 0.6824 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003173/0.5812, allocations: 496.1 kB / 1.033 GB, free: 7.059 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.00269/0.584, allocations: 0.9541 MB / 1.034 GB, free: 6.105 MB / 0.6824 GB Notification: Performance of Backend: time 1.303e-06/0.584, allocations: 0 / 1.034 GB, free: 6.105 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.01326/0.5973, allocations: 2.365 MB / 1.036 GB, free: 3.73 MB / 0.6824 GB Notification: Performance of SimCode: time 0.0119/0.6092, allocations: 3.966 MB / 1.04 GB, free: 15.72 MB / 0.698 GB Notification: Performance of Templates: time 0.7605/1.37, allocations: 44.11 MB / 1.083 GB, free: 136.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)