Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.252/2.252, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001282/0.001281, allocations: 166.4 kB / 326.2 MB, free: 2.875 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.337/2.337, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0008775/0.0008772, allocations: 96.17 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006364/0.0006366, allocations: 12.09 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1976, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1764/0.3741, allocations: 120.8 MB / 1.017 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.05167/0.4258, allocations: 23.55 MB / 1.04 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005182/0.431, allocations: 115.2 kB / 1.041 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005888/0.437, allocations: 1.192 MB / 1.042 GB, free: 15.56 MB / 0.698 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. [/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.0151/0.4521, allocations: 3.489 MB / 1.045 GB, free: 12.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.464, allocations: 2.459 MB / 1.047 GB, free: 9.629 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.746/1.21, allocations: 9.81 MB / 1.057 GB, free: 42.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00935/1.219, allocations: 2.41 MB / 1.059 GB, free: 42.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/1.231, allocations: 2.635 MB / 1.062 GB, free: 42.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008277/1.24, allocations: 2.164 MB / 1.064 GB, free: 42.65 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001913/1.242, allocations: 126.9 kB / 1.064 GB, free: 42.65 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/1.256, allocations: 2.039 MB / 1.066 GB, free: 42.65 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002661/1.258, allocations: 0.5785 MB / 1.067 GB, free: 42.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003457/1.262, allocations: 0.7275 MB / 1.068 GB, free: 42.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/1.278, allocations: 4.759 MB / 1.072 GB, free: 42.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.278, allocations: 0.5938 kB / 1.072 GB, free: 42.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.298e-06/1.278, allocations: 0.75 kB / 1.072 GB, free: 42.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000208/1.278, allocations: 0 / 1.072 GB, free: 42.45 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01721/1.295, allocations: 3.431 MB / 1.076 GB, free: 40.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/1.295, allocations: 9.094 kB / 1.076 GB, free: 40.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03239/1.328, allocations: 1.457 MB / 1.077 GB, free: 40.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008716/1.337, allocations: 2.812 MB / 1.08 GB, free: 39.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004964/1.337, allocations: 252.5 kB / 1.08 GB, free: 39.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/1.338, allocations: 239 kB / 1.08 GB, free: 39.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/1.359, allocations: 3.194 MB / 1.083 GB, free: 39.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/1.36, allocations: 5.5 kB / 1.083 GB, free: 39.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/1.361, allocations: 101.5 kB / 1.083 GB, free: 39.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/1.361, allocations: 74.17 kB / 1.083 GB, free: 39.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/1.389, allocations: 2.879 MB / 1.086 GB, free: 39.24 MB / 0.698 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.05003/1.439, allocations: 13.63 MB / 1.1 GB, free: 33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/1.452, allocations: 1.503 MB / 1.101 GB, free: 32.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00911/1.461, allocations: 0.9344 MB / 1.102 GB, free: 32.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004403/1.466, allocations: 1.792 MB / 1.104 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007246/1.473, allocations: 1.177 MB / 1.105 GB, free: 30.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 8.105e-06/1.473, allocations: 4 kB / 1.105 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.1021/1.575, allocations: 11.86 MB / 1.116 GB, free: 26.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/1.576, allocations: 0.5788 MB / 1.117 GB, free: 25.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006468/1.582, allocations: 2.58 MB / 1.12 GB, free: 25.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005755/1.583, allocations: 58.83 kB / 1.12 GB, free: 25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.584, allocations: 1.32 MB / 1.121 GB, free: 24.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008643/1.585, allocations: 465.6 kB / 1.121 GB, free: 24.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/1.586, allocations: 34.78 kB / 1.121 GB, free: 24.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.586, allocations: 381.1 kB / 1.122 GB, free: 23.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007525/1.593, allocations: 1.001 MB / 1.123 GB, free: 23.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008229/1.602, allocations: 1.602 MB / 1.124 GB, free: 22.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007775/1.609, allocations: 1.133 MB / 1.125 GB, free: 22.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/1.609, allocations: 3.281 kB / 1.125 GB, free: 22.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.04241/1.652, allocations: 4.197 MB / 1.129 GB, free: 21.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002836/1.652, allocations: 491.4 kB / 1.13 GB, free: 20.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/1.652, allocations: 11.25 kB / 1.13 GB, free: 20.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006484/1.659, allocations: 1.116 MB / 1.131 GB, free: 20.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005094/1.664, allocations: 472.5 kB / 1.131 GB, free: 20.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/1.67, allocations: 2.388 MB / 1.134 GB, free: 19.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009859/1.68, allocations: 420.6 kB / 1.134 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007541/1.681, allocations: 104.9 kB / 1.134 GB, free: 18.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.681, allocations: 3.906 kB / 1.134 GB, free: 18.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04152/1.723, allocations: 3.904 MB / 1.138 GB, free: 17.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/1.723, allocations: 17.06 kB / 1.138 GB, free: 17.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006439/1.729, allocations: 1.115 MB / 1.139 GB, free: 17.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005072/1.734, allocations: 470.9 kB / 1.14 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/1.741, allocations: 2.393 MB / 1.142 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008722/1.75, allocations: 378 kB / 1.142 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006404/1.75, allocations: 104.4 kB / 1.142 GB, free: 15.29 MB / 0.698 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 (166): * Single equations (assignments): 163 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002548/1.753, allocations: 0.6996 MB / 1.143 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.754, allocations: 280.6 kB / 1.143 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/1.77, allocations: 2.462 MB / 1.146 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01366/1.784, allocations: 2.065 MB / 1.148 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/1.784, allocations: 0 / 1.148 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002673/1.786, allocations: 0.6427 MB / 1.148 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0014/1.788, allocations: 29.66 kB / 1.149 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007407/1.795, allocations: 295.7 kB / 1.149 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/1.796, allocations: 98.98 kB / 1.149 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02534/1.821, allocations: 3.464 MB / 1.152 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02247/1.844, allocations: 3.848 MB / 1.156 GB, free: 4.469 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009778/1.853, allocations: 0.8797 MB / 1.157 GB, free: 3.852 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007938/1.861, allocations: 1.788 MB / 1.159 GB, free: 2.602 MB / 0.698 GB Notification: Performance of Backend: time 2.354e-06/1.862, allocations: 4 kB / 1.159 GB, free: 2.598 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.03974/1.901, allocations: 4.124 MB / 1.163 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of SimCode: time 0.03765/1.939, allocations: 7.175 MB / 1.17 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of Templates: time 0.2462/2.185, allocations: 88.25 MB / 1.256 GB, free: 1.668 MB / 0.7917 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)