Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002381/0.002381, allocations: 354.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.417/1.417, allocations: 165.8 MB / 182.5 MB, free: 5.379 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.758/3.758, allocations: 410.8 MB / 0.5995 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001688/0.001687, allocations: 200.6 kB / 0.6662 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004786, allocations: 16 kB / 0.7423 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3245, allocations: 67.45 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1601/0.4846, allocations: 120.7 MB / 0.926 GB, free: 3.773 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.374/0.8587, allocations: 22.56 MB / 0.9481 GB, free: 38.14 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005305/0.8641, allocations: 113.8 kB / 0.9482 GB, free: 38.14 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005235/0.8693, allocations: 1.35 MB / 0.9495 GB, free: 38.13 MB / 474.7 MB [/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.01563/0.885, allocations: 4.256 MB / 0.9536 GB, free: 38.08 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0125/0.8975, allocations: 3.129 MB / 0.9567 GB, free: 37.99 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01287/0.9104, allocations: 9.875 MB / 0.9663 GB, free: 36.66 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004162/0.9146, allocations: 2.26 MB / 0.9685 GB, free: 36.04 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006083/0.9208, allocations: 2.579 MB / 0.9711 GB, free: 35.06 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.9249, allocations: 2.179 MB / 0.9732 GB, free: 34.2 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008519/0.9258, allocations: 131.4 kB / 0.9733 GB, free: 34.2 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006396/0.9323, allocations: 1.593 MB / 0.9749 GB, free: 33.82 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.9336, allocations: 0.5955 MB / 0.9755 GB, free: 33.55 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.9355, allocations: 0.7292 MB / 0.9762 GB, free: 33.41 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007344/0.9428, allocations: 4.612 MB / 0.9807 GB, free: 30.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.097e-06/0.9429, allocations: 3.938 kB / 0.9807 GB, free: 30.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.582e-06/0.9429, allocations: 1.969 kB / 0.9807 GB, free: 30.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.943, allocations: 3.938 kB / 0.9807 GB, free: 30.96 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.007365/0.9504, allocations: 3.359 MB / 0.984 GB, free: 28.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9505, allocations: 10.22 kB / 0.984 GB, free: 28.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.9633, allocations: 1.453 MB / 0.9854 GB, free: 28.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.9749, allocations: 2.846 MB / 0.9882 GB, free: 26.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/0.9755, allocations: 259.6 kB / 0.9884 GB, free: 25.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.9767, allocations: 233 kB / 0.9886 GB, free: 25.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.9976, allocations: 3.216 MB / 0.9918 GB, free: 23.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.9979, allocations: 7.938 kB / 0.9918 GB, free: 23.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008989/0.9988, allocations: 99.5 kB / 0.9919 GB, free: 23.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.999, allocations: 78.36 kB / 0.992 GB, free: 23.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/1.026, allocations: 2.882 MB / 0.9948 GB, free: 21.23 MB / 474.7 MB 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.03548/1.061, allocations: 13.47 MB / 1.008 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/1.067, allocations: 1.517 MB / 1.009 GB, free: 6.895 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/1.071, allocations: 0.9631 MB / 1.01 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/1.073, allocations: 1.784 MB / 1.012 GB, free: 3.762 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004594/1.077, allocations: 1.236 MB / 1.013 GB, free: 2.461 MB / 474.7 MB Notification: Performance of pre-optimization done (n=130): time 6.311e-06/1.077, allocations: 4 kB / 1.013 GB, free: 2.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=130): time 0.04741/1.125, allocations: 5.995 MB / 1.019 GB, free: 12.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003703/1.125, allocations: 0.5844 MB / 1.02 GB, free: 11.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/1.131, allocations: 2.477 MB / 1.022 GB, free: 9.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000403/1.131, allocations: 61.7 kB / 1.022 GB, free: 9.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/1.133, allocations: 1.346 MB / 1.024 GB, free: 7.805 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007265/1.134, allocations: 452.3 kB / 1.024 GB, free: 7.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.134, allocations: 40 kB / 1.024 GB, free: 7.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002463/1.134, allocations: 381.8 kB / 1.024 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005253/1.14, allocations: 1.011 MB / 1.025 GB, free: 5.938 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006055/1.146, allocations: 1.617 MB / 1.027 GB, free: 4.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00618/1.152, allocations: 1.164 MB / 1.028 GB, free: 2.934 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/1.152, allocations: 4 kB / 1.028 GB, free: 2.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.03525/1.187, allocations: 4.132 MB / 1.032 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004745/1.188, allocations: 480.8 kB / 1.033 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/1.188, allocations: 16 kB / 1.033 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004581/1.192, allocations: 0.9559 MB / 1.034 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.196, allocations: 0.4992 MB / 1.034 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/1.201, allocations: 1.991 MB / 1.036 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00606/1.207, allocations: 0.5365 MB / 1.036 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003732/1.207, allocations: 107.9 kB / 1.037 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.207, allocations: 4 kB / 1.037 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02529/1.233, allocations: 3.86 MB / 1.04 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/1.233, allocations: 12 kB / 1.04 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/1.237, allocations: 0.958 MB / 1.041 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/1.241, allocations: 0.4953 MB / 1.042 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/1.245, allocations: 1.983 MB / 1.044 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.251, allocations: 477.8 kB / 1.044 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/1.251, allocations: 107.9 kB / 1.044 GB, free: 2.023 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001946/1.253, allocations: 0.7008 MB / 1.045 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007501/1.254, allocations: 272.8 kB / 1.045 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.268, allocations: 2.581 MB / 1.048 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/1.268, allocations: 14.73 kB / 1.048 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.268, allocations: 7.953 kB / 1.048 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01304/1.281, allocations: 2.184 MB / 1.05 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/1.316, allocations: 7.557 MB / 1.057 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/1.316, allocations: 8 kB / 1.057 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.318, allocations: 299.8 kB / 1.058 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004494/1.323, allocations: 0.9435 MB / 1.058 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/1.323, allocations: 51.94 kB / 1.059 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/1.327, allocations: 1.99 MB / 1.06 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.661e-05/1.327, allocations: 15.94 kB / 1.06 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/1.344, allocations: 3.709 MB / 1.064 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.346, allocations: 0.669 MB / 1.065 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007304/1.347, allocations: 39.98 kB / 1.065 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/1.352, allocations: 302.5 kB / 1.065 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/1.352, allocations: 120.7 kB / 1.065 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002744/1.352, allocations: 75.92 kB / 1.065 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004579/1.357, allocations: 1.731 MB / 1.067 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.063e-06/1.357, allocations: 0 / 1.067 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006795/1.364, allocations: 1.676 MB / 1.069 GB, free: 8.762 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002154/1.366, allocations: 0.7741 MB / 1.069 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01744/1.383, allocations: 3.761 MB / 1.073 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/1.383, allocations: 8.812 kB / 1.073 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005351/1.389, allocations: 1.104 MB / 1.074 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009081/1.398, allocations: 1.419 MB / 1.075 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.414, allocations: 5.971 MB / 1.081 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/1.416, allocations: 1.773 MB / 1.083 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00495/1.421, allocations: 0.69 MB / 1.084 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009377/1.422, allocations: 231.3 kB / 1.084 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of SimCode: time 1.77e-06/1.422, allocations: 0 / 1.084 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of Templates: time 0.1621/1.584, allocations: 67.26 MB / 1.15 GB, free: 6.441 MB / 0.6042 GB