Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.746/1.746, allocations: 287.4 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 192.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006787/0.0006788, allocations: 93.92 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 15.53 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.163, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.05637/0.2195, allocations: 64.51 MB / 1.042 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.2379, allocations: 13.51 MB / 1.055 GB, free: 14 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.2401, allocations: 63.56 kB / 1.056 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.2427, allocations: 0.6404 MB / 1.056 GB, free: 13.3 MB / 0.6823 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.006215/0.2489, allocations: 2.002 MB / 1.058 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.2532, allocations: 1.436 MB / 1.059 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005793/0.259, allocations: 5.139 MB / 1.065 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.2611, allocations: 1.27 MB / 1.066 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.2638, allocations: 1.384 MB / 1.067 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2656, allocations: 1.143 MB / 1.068 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.2659, allocations: 68 kB / 1.068 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3527/0.6186, allocations: 1.423 MB / 1.07 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.6197, allocations: 320.2 kB / 1.07 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.6209, allocations: 403.5 kB / 1.07 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006769/0.6277, allocations: 2.597 MB / 1.073 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6277, allocations: 0.875 kB / 1.073 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.206e-06/0.6278, allocations: 0 / 1.073 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.168e-05/0.6279, allocations: 0 / 1.073 GB, free: 29.95 MB / 0.6823 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.007685/0.6356, allocations: 1.996 MB / 1.075 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.6356, allocations: 14.11 kB / 1.075 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009739/0.6454, allocations: 0.6979 MB / 1.076 GB, free: 28.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.651, allocations: 1.562 MB / 1.077 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.6513, allocations: 128.2 kB / 1.077 GB, free: 28.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005987/0.6519, allocations: 121.2 kB / 1.077 GB, free: 28.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008168/0.6601, allocations: 1.649 MB / 1.079 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.6602, allocations: 5.344 kB / 1.079 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.6605, allocations: 54.97 kB / 1.079 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.365e-05/0.6606, allocations: 35.52 kB / 1.079 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009685/0.6704, allocations: 1.491 MB / 1.08 GB, free: 28.03 MB / 0.6823 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.01148/0.6819, allocations: 6.995 MB / 1.087 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.6844, allocations: 0.796 MB / 1.088 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.6861, allocations: 0.4989 MB / 1.089 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.6872, allocations: 1.276 MB / 1.09 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/0.6892, allocations: 0.663 MB / 1.09 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.526e-06/0.6892, allocations: 0 / 1.09 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01023/0.6994, allocations: 2.175 MB / 1.093 GB, free: 22.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.6995, allocations: 325.5 kB / 1.093 GB, free: 22.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.7022, allocations: 1.365 MB / 1.094 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.7024, allocations: 45.97 kB / 1.094 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/0.703, allocations: 0.6956 MB / 1.095 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.7033, allocations: 248.1 kB / 1.095 GB, free: 21.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.7034, allocations: 17.75 kB / 1.095 GB, free: 21.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.7034, allocations: 344 kB / 1.096 GB, free: 21.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.7055, allocations: 0.5199 MB / 1.096 GB, free: 21.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.7078, allocations: 0.8329 MB / 1.097 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/0.7116, allocations: 1.208 MB / 1.098 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.7116, allocations: 4.688 kB / 1.098 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007922/0.7195, allocations: 1.836 MB / 1.1 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.7198, allocations: 306.5 kB / 1.1 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.7198, allocations: 6.719 kB / 1.1 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.7212, allocations: 367.5 kB / 1.1 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.7229, allocations: 278.9 kB / 1.101 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.724, allocations: 0.9025 MB / 1.102 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.7269, allocations: 291.7 kB / 1.102 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.7271, allocations: 55.47 kB / 1.102 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.7271, allocations: 3.75 kB / 1.102 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006999/0.7341, allocations: 1.679 MB / 1.104 GB, free: 19.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.7341, allocations: 10.09 kB / 1.104 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.7354, allocations: 370.6 kB / 1.104 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7369, allocations: 279.4 kB / 1.104 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.7379, allocations: 0.9027 MB / 1.105 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.7405, allocations: 263.1 kB / 1.105 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.7407, allocations: 60.62 kB / 1.105 GB, free: 19.19 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 ($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.00102/0.7417, allocations: 460 kB / 1.106 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/0.7422, allocations: 146 kB / 1.106 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.7465, allocations: 1.272 MB / 1.107 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003254/0.7498, allocations: 1.086 MB / 1.108 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.7498, allocations: 4.312 kB / 1.108 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.7509, allocations: 391.6 kB / 1.109 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000548/0.7514, allocations: 18.56 kB / 1.109 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/0.7535, allocations: 155.4 kB / 1.109 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.7536, allocations: 52.28 kB / 1.109 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005453/0.7591, allocations: 1.74 MB / 1.111 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005409/0.7645, allocations: 2.12 MB / 1.113 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001587/0.7661, allocations: 484.2 kB / 1.113 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002033/0.7682, allocations: 0.9586 MB / 1.114 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of Backend: time 6.01e-07/0.7682, allocations: 0.9062 kB / 1.114 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00921/0.7774, allocations: 2.298 MB / 1.116 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007282/0.7847, allocations: 3.974 MB / 1.12 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of Templates: time 0.06292/0.8477, allocations: 44.31 MB / 1.163 GB, free: 1.414 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)