Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.767/4.767, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002516/0.002516, allocations: 358.8 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.059/4.059, allocations: 410.7 MB / 1.113 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 177.9 kB / 1.226 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 16 kB / 1.349 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6827/0.6832, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1441/0.8274, allocations: 120.7 MB / 1.579 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0388/0.8662, allocations: 22.59 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004906/0.8712, allocations: 115.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005934/0.8772, allocations: 1.343 MB / 1.603 GB, free: 139.6 MB / 0.8542 GB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.01593/0.8931, allocations: 4.251 MB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01265/0.9058, allocations: 3.127 MB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0137/0.9195, allocations: 9.81 MB / 1.62 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004701/0.9243, allocations: 2.247 MB / 1.622 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006964/0.9313, allocations: 2.558 MB / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.9361, allocations: 2.174 MB / 1.626 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0009874/0.9371, allocations: 136 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007126/0.9443, allocations: 1.594 MB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.9458, allocations: 0.5872 MB / 1.629 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.9476, allocations: 0.7305 MB / 1.629 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00797/0.9556, allocations: 4.596 MB / 1.634 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.9556, allocations: 0 / 1.634 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9556, allocations: 3.938 kB / 1.634 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00016/0.9558, allocations: 0 / 1.634 GB, free: 107.8 MB / 0.8542 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.009295/0.9651, allocations: 3.347 MB / 1.637 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.9652, allocations: 15.62 kB / 1.637 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02049/0.9857, allocations: 1.459 MB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007288/0.993, allocations: 2.826 MB / 1.641 GB, free: 99.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/0.9934, allocations: 255.9 kB / 1.641 GB, free: 99.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007557/0.9942, allocations: 243.9 kB / 1.642 GB, free: 99.46 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/1.007, allocations: 3.218 MB / 1.645 GB, free: 96.05 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-05/1.007, allocations: 7.938 kB / 1.645 GB, free: 96.05 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004317/1.007, allocations: 96 kB / 1.645 GB, free: 95.95 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.434e-05/1.007, allocations: 75.94 kB / 1.645 GB, free: 95.88 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/1.024, allocations: 2.881 MB / 1.648 GB, free: 92.98 MB / 0.8542 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.02836/1.052, allocations: 13.67 MB / 1.661 GB, free: 78.67 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007677/1.06, allocations: 1.494 MB / 1.663 GB, free: 77.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00588/1.066, allocations: 0.9354 MB / 1.664 GB, free: 76.24 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002163/1.068, allocations: 1.777 MB / 1.665 GB, free: 74.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006629/1.075, allocations: 1.212 MB / 1.666 GB, free: 72.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 6.923e-06/1.075, allocations: 3.984 kB / 1.667 GB, free: 72.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=132): time 0.09632/1.171, allocations: 11.88 MB / 1.678 GB, free: 60.76 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/1.171, allocations: 0.5766 MB / 1.679 GB, free: 60.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/1.177, allocations: 2.58 MB / 1.681 GB, free: 57.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000466/1.177, allocations: 65.7 kB / 1.681 GB, free: 57.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/1.179, allocations: 1.319 MB / 1.683 GB, free: 56.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000631/1.179, allocations: 461.5 kB / 1.683 GB, free: 55.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/1.179, allocations: 36 kB / 1.683 GB, free: 55.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.18, allocations: 373.9 kB / 1.683 GB, free: 55.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006979/1.187, allocations: 0.9993 MB / 1.684 GB, free: 54.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007567/1.194, allocations: 1.6 MB / 1.686 GB, free: 52.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0073/1.202, allocations: 1.14 MB / 1.687 GB, free: 51.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.202, allocations: 4 kB / 1.687 GB, free: 51.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.04034/1.242, allocations: 4.178 MB / 1.691 GB, free: 46.99 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002769/1.242, allocations: 0.4977 MB / 1.692 GB, free: 46.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.956e-05/1.242, allocations: 16 kB / 1.692 GB, free: 46.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006203/1.249, allocations: 1.151 MB / 1.693 GB, free: 45.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/1.253, allocations: 471.2 kB / 1.693 GB, free: 44.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/1.26, allocations: 2.393 MB / 1.696 GB, free: 42.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008631/1.268, allocations: 419 kB / 1.696 GB, free: 41.85 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004307/1.269, allocations: 112.1 kB / 1.696 GB, free: 41.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.269, allocations: 4 kB / 1.696 GB, free: 41.74 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0395/1.308, allocations: 3.901 MB / 1.7 GB, free: 37.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/1.308, allocations: 12 kB / 1.7 GB, free: 37.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006084/1.315, allocations: 1.151 MB / 1.701 GB, free: 36.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004824/1.319, allocations: 467.2 kB / 1.701 GB, free: 36.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/1.326, allocations: 2.386 MB / 1.704 GB, free: 33.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007943/1.334, allocations: 383.3 kB / 1.704 GB, free: 33.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/1.334, allocations: 111.8 kB / 1.704 GB, free: 33.28 MB / 0.8542 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.001905/1.336, allocations: 0.6959 MB / 1.705 GB, free: 32.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008506/1.337, allocations: 280.8 kB / 1.705 GB, free: 32.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/1.352, allocations: 2.466 MB / 1.708 GB, free: 29.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01312/1.365, allocations: 2.061 MB / 1.71 GB, free: 27.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.365, allocations: 4 kB / 1.71 GB, free: 27.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.367, allocations: 0.6457 MB / 1.71 GB, free: 27.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000861/1.368, allocations: 32 kB / 1.71 GB, free: 27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006653/1.375, allocations: 291.5 kB / 1.711 GB, free: 26.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/1.375, allocations: 100.7 kB / 1.711 GB, free: 26.62 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02466/1.4, allocations: 3.479 MB / 1.714 GB, free: 23.12 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01936/1.419, allocations: 3.848 MB / 1.718 GB, free: 19.25 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005836/1.425, allocations: 0.8825 MB / 1.719 GB, free: 18.37 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004498/1.43, allocations: 1.788 MB / 1.72 GB, free: 16.58 MB / 0.8542 GB Notification: Performance of Backend: time 1.272e-06/1.43, allocations: 0 / 1.72 GB, free: 16.58 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02246/1.452, allocations: 3.955 MB / 1.724 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of SimCode: time 0.02814/1.48, allocations: 7.184 MB / 1.731 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of Templates: time 0.9031/2.383, allocations: 86.46 MB / 1.816 GB, free: 199.9 MB / 0.8542 GB