Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 176.8 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005022, allocations: 15.47 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06149/0.2752, allocations: 68.21 MB / 0.8545 GB, free: 7.125 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.2974, allocations: 14.28 MB / 0.8684 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00325/0.3007, allocations: 63.56 kB / 0.8685 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.3035, allocations: 0.742 MB / 0.8692 GB, free: 8 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007511/0.3111, allocations: 2.328 MB / 0.8715 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.316, allocations: 1.791 MB / 0.8732 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007304/0.3233, allocations: 5.865 MB / 0.879 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.3256, allocations: 1.285 MB / 0.8802 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.3288, allocations: 1.427 MB / 0.8816 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.3308, allocations: 1.194 MB / 0.8828 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.3311, allocations: 68 kB / 0.8829 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/0.335, allocations: 1.73 MB / 0.8845 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.3356, allocations: 330.5 kB / 0.8849 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.337, allocations: 0.9034 MB / 0.8857 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005472/0.3425, allocations: 3.349 MB / 0.889 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3425, allocations: 0 / 0.889 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3425, allocations: 0 / 0.889 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.069e-05/0.3426, allocations: 0 / 0.889 GB, free: 3.664 MB / 0.7012 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.003635/0.3462, allocations: 1.928 MB / 0.8909 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3463, allocations: 12.03 kB / 0.8909 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/0.3519, allocations: 0.7283 MB / 0.8916 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.3547, allocations: 1.544 MB / 0.8931 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.3549, allocations: 132 kB / 0.8933 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.3552, allocations: 120 kB / 0.8934 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.3592, allocations: 1.656 MB / 0.895 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.3593, allocations: 3.906 kB / 0.895 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.3594, allocations: 55.94 kB / 0.895 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.3595, allocations: 43.92 kB / 0.8951 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/0.3641, allocations: 1.496 MB / 0.8965 GB, free: 11.72 MB / 0.7169 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.01094/0.3751, allocations: 7.022 MB / 0.9034 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.3773, allocations: 0.7552 MB / 0.9041 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.379, allocations: 0.5022 MB / 0.9046 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.3803, allocations: 1.271 MB / 0.9059 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.3804, allocations: 47.06 kB / 0.9059 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=68): time 4.318e-06/0.3804, allocations: 4 kB / 0.9059 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=68): time 0.02065/0.4011, allocations: 3.129 MB / 0.909 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.4012, allocations: 111.4 kB / 0.9091 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.4038, allocations: 1.358 MB / 0.9104 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.404, allocations: 41.7 kB / 0.9104 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/0.4047, allocations: 0.6917 MB / 0.9111 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.4051, allocations: 240.5 kB / 0.9114 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.4053, allocations: 81.67 kB / 0.9114 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4054, allocations: 341.9 kB / 0.9118 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.4074, allocations: 0.5289 MB / 0.9123 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.4097, allocations: 0.7901 MB / 0.913 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.4135, allocations: 1.176 MB / 0.9142 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.4135, allocations: 0 / 0.9142 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005365/0.4189, allocations: 1.597 MB / 0.9158 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.4191, allocations: 284.3 kB / 0.916 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4191, allocations: 4 kB / 0.916 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.421, allocations: 488.5 kB / 0.9165 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.4227, allocations: 267.7 kB / 0.9167 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.4244, allocations: 0.9895 MB / 0.9177 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.427, allocations: 290.6 kB / 0.918 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.4272, allocations: 55.95 kB / 0.918 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4273, allocations: 4 kB / 0.918 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004786/0.432, allocations: 1.445 MB / 0.9195 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4321, allocations: 4 kB / 0.9195 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.4338, allocations: 491.7 kB / 0.9199 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.4352, allocations: 267.6 kB / 0.9202 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.4369, allocations: 1.001 MB / 0.9212 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.4392, allocations: 258.8 kB / 0.9214 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4394, allocations: 55.95 kB / 0.9215 GB, free: 1.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0008737/0.4403, allocations: 448.8 kB / 0.9219 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.4407, allocations: 146.2 kB / 0.922 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4547/0.8954, allocations: 1.335 MB / 0.9233 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.8954, allocations: 7.906 kB / 0.9233 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8955, allocations: 1.094 kB / 0.9233 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004136/0.8996, allocations: 1.149 MB / 0.9245 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/0.909, allocations: 3.073 MB / 0.9275 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.909, allocations: 4.688 kB / 0.9275 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009637/0.91, allocations: 153.1 kB / 0.9276 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.9118, allocations: 487.8 kB / 0.9281 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.9119, allocations: 25.06 kB / 0.9281 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.9134, allocations: 0.9997 MB / 0.9291 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.9134, allocations: 10.34 kB / 0.9291 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/0.9194, allocations: 1.972 MB / 0.931 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008897/0.9203, allocations: 397.9 kB / 0.9314 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.9205, allocations: 19.52 kB / 0.9314 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.9222, allocations: 154.1 kB / 0.9316 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.9224, allocations: 60 kB / 0.9316 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.9225, allocations: 47.42 kB / 0.9317 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001632/0.9241, allocations: 0.9739 MB / 0.9326 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9242, allocations: 0 / 0.9326 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002387/0.9266, allocations: 0.8956 MB / 0.9335 GB, free: 129.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.9278, allocations: 0.5371 MB / 0.934 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006252/0.9341, allocations: 1.869 MB / 0.9358 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9341, allocations: 5.188 kB / 0.9358 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.936, allocations: 0.5332 MB / 0.9364 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/0.9409, allocations: 0.8112 MB / 0.9372 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.9473, allocations: 3.295 MB / 0.9404 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/0.9483, allocations: 1.208 MB / 0.9416 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002324/0.9507, allocations: 366.7 kB / 0.9419 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/0.9512, allocations: 139.3 kB / 0.942 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/0.9512, allocations: 0 / 0.942 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.06166/1.013, allocations: 38.44 MB / 0.9796 GB, free: 101.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: