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.0009803/0.0009803, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000902/0.000902, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.599/1.599, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004631/0.0004631, allocations: 18.44 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.0561/0.2743, allocations: 58.5 MB / 0.8442 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.2923, allocations: 12.05 MB / 0.856 GB, free: 5.254 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.2948, allocations: 55.62 kB / 0.8561 GB, free: 5.199 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.2978, allocations: 0.785 MB / 0.8568 GB, free: 4.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007596/0.3055, allocations: 2.173 MB / 0.859 GB, free: 2.23 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005905/0.3114, allocations: 1.904 MB / 0.8608 GB, free: 368 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004908/0.3163, allocations: 2.646 MB / 0.8634 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.3179, allocations: 1.16 MB / 0.8645 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.3201, allocations: 1.257 MB / 0.8658 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.3211, allocations: 0.8127 MB / 0.8666 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.3212, allocations: 64 kB / 0.8666 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.3242, allocations: 1.178 MB / 0.8678 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.3246, allocations: 302.8 kB / 0.8681 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.3251, allocations: 396.8 kB / 0.8684 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.328, allocations: 2.439 MB / 0.8708 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.328, allocations: 0 / 0.8708 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3281, allocations: 4 kB / 0.8708 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.929e-05/0.3281, allocations: 0 / 0.8708 GB, free: 6.059 MB / 0.6856 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.003653/0.3317, allocations: 1.903 MB / 0.8727 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3318, allocations: 15.91 kB / 0.8727 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.3371, allocations: 0.7355 MB / 0.8734 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.3397, allocations: 1.425 MB / 0.8748 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.3399, allocations: 128 kB / 0.8749 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.34, allocations: 128 kB / 0.8751 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/0.3439, allocations: 1.636 MB / 0.8766 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.3439, allocations: 3.938 kB / 0.8767 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.3441, allocations: 52 kB / 0.8767 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.3441, allocations: 36 kB / 0.8767 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.3487, allocations: 1.484 MB / 0.8782 GB, free: 14.29 MB / 0.7012 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.01005/0.3588, allocations: 7.065 MB / 0.8851 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.3609, allocations: 0.7501 MB / 0.8858 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.3622, allocations: 1.271 MB / 0.8871 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3622, allocations: 47.12 kB / 0.8871 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 2.715e-06/0.3622, allocations: 0 / 0.8871 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.01899/0.3812, allocations: 3.103 MB / 0.8901 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.3813, allocations: 111.4 kB / 0.8902 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.3837, allocations: 1.397 MB / 0.8916 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.3839, allocations: 45.7 kB / 0.8916 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.3845, allocations: 0.6878 MB / 0.8923 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.3847, allocations: 244.5 kB / 0.8926 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.3848, allocations: 20 kB / 0.8926 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3849, allocations: 341.9 kB / 0.8929 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.3868, allocations: 0.5094 MB / 0.8934 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.3888, allocations: 0.794 MB / 0.8942 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.3907, allocations: 0.5692 MB / 0.8947 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3907, allocations: 0 / 0.8947 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01199/0.4027, allocations: 2.163 MB / 0.8968 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.4039, allocations: 2.478 MB / 0.8993 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.404, allocations: 8 kB / 0.8993 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.4058, allocations: 494.5 kB / 0.8997 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.4074, allocations: 267.6 kB / 0.9 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.4091, allocations: 0.9972 MB / 0.901 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.4117, allocations: 290.5 kB / 0.9012 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.4118, allocations: 55.95 kB / 0.9013 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4118, allocations: 4 kB / 0.9013 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01154/0.4234, allocations: 1.995 MB / 0.9033 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.4235, allocations: 8 kB / 0.9033 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.4252, allocations: 488 kB / 0.9037 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.4268, allocations: 263.6 kB / 0.904 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.4285, allocations: 0.9972 MB / 0.9049 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.431, allocations: 254.8 kB / 0.9052 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.4312, allocations: 55.94 kB / 0.9052 GB, free: 1.52 MB / 0.7169 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 ($PRE.heaPum.com.isOn,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 (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 19} Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.4323, allocations: 460.8 kB / 0.9057 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/0.4328, allocations: 142.3 kB / 0.9058 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.4371, allocations: 1.33 MB / 0.9071 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4371, allocations: 8.25 kB / 0.9071 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4371, allocations: 3.984 kB / 0.9071 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003642/0.4407, allocations: 1.147 MB / 0.9083 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007902/0.4487, allocations: 3.1 MB / 0.9113 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.4487, allocations: 4 kB / 0.9113 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/0.4497, allocations: 155.8 kB / 0.9114 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/0.4513, allocations: 483.2 kB / 0.9119 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.4514, allocations: 27.97 kB / 0.9119 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.4529, allocations: 0.9882 MB / 0.9129 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.4529, allocations: 11.94 kB / 0.9129 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005788/0.4587, allocations: 2.241 MB / 0.9151 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009105/0.4596, allocations: 410.9 kB / 0.9155 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.46, allocations: 19.95 kB / 0.9155 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.4619, allocations: 159.7 kB / 0.9156 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4621, allocations: 60.27 kB / 0.9157 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.4622, allocations: 47.94 kB / 0.9157 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001904/0.4641, allocations: 1.005 MB / 0.9167 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4641, allocations: 0 / 0.9167 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003034/0.4671, allocations: 0.889 MB / 0.9176 GB, free: 4.375 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 (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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.4685, allocations: 0.5491 MB / 0.9181 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006569/0.475, allocations: 1.861 MB / 0.92 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.4751, allocations: 7.719 kB / 0.92 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.477, allocations: 0.5259 MB / 0.9205 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/0.481, allocations: 0.7915 MB / 0.9212 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3962/0.8772, allocations: 3.137 MB / 0.9243 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/0.878, allocations: 1.234 MB / 0.9255 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001915/0.8799, allocations: 368.1 kB / 0.9259 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.8803, allocations: 134.1 kB / 0.926 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.021e-06/0.8803, allocations: 0 / 0.926 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.06113/0.9414, allocations: 37.08 MB / 0.9622 GB, free: 115.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: