Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 100.1 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.001325/0.001325, 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.563/1.563, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004812/0.0004813, allocations: 19.19 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.05226/0.2675, allocations: 58.55 MB / 0.8443 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.2833, allocations: 12.02 MB / 0.856 GB, free: 5.238 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2853, allocations: 55.62 kB / 0.8561 GB, free: 5.184 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.2878, allocations: 0.7927 MB / 0.8569 GB, free: 4.387 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.2938, allocations: 2.17 MB / 0.859 GB, free: 2.211 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005395/0.2992, allocations: 1.917 MB / 0.8608 GB, free: 336 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005226/0.3045, allocations: 2.76 MB / 0.8635 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.3066, allocations: 1.314 MB / 0.8648 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.3104, allocations: 1.308 MB / 0.8661 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.3122, allocations: 0.8788 MB / 0.867 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.3124, allocations: 72 kB / 0.867 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.3164, allocations: 1.182 MB / 0.8682 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.3168, allocations: 330.6 kB / 0.8685 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000736/0.3176, allocations: 428.8 kB / 0.8689 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.3209, allocations: 2.685 MB / 0.8715 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3209, allocations: 0 / 0.8715 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3209, allocations: 0 / 0.8715 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.17e-05/0.321, allocations: 0 / 0.8715 GB, free: 5.332 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003566/0.3246, allocations: 2.058 MB / 0.8735 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3246, allocations: 8.031 kB / 0.8735 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/0.3297, allocations: 0.7586 MB / 0.8743 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.3322, allocations: 1.546 MB / 0.8758 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.3323, allocations: 140.3 kB / 0.8759 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.3325, allocations: 143.9 kB / 0.8761 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.3362, allocations: 1.817 MB / 0.8778 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3363, allocations: 4 kB / 0.8778 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.3364, allocations: 60 kB / 0.8779 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.3365, allocations: 43.98 kB / 0.8779 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/0.3409, allocations: 1.606 MB / 0.8795 GB, free: 12.92 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.009555/0.3505, allocations: 7.622 MB / 0.887 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.3527, allocations: 0.8969 MB / 0.8878 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.3538, allocations: 1.271 MB / 0.8891 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3539, allocations: 51.22 kB / 0.8891 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=81): time 2.474e-06/0.3539, allocations: 0 / 0.8891 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=81): time 0.01635/0.3702, allocations: 2.816 MB / 0.8919 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.3704, allocations: 188.6 kB / 0.8921 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.3726, allocations: 1.464 MB / 0.8935 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.3728, allocations: 53.64 kB / 0.8935 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/0.3734, allocations: 0.7509 MB / 0.8943 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.3737, allocations: 288 kB / 0.8945 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.3737, allocations: 20 kB / 0.8946 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3739, allocations: 343.4 kB / 0.8949 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.3757, allocations: 0.553 MB / 0.8954 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.3778, allocations: 0.8593 MB / 0.8963 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.3798, allocations: 0.6041 MB / 0.8969 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3798, allocations: 4 kB / 0.8969 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005101/0.3849, allocations: 1.683 MB / 0.8985 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/0.386, allocations: 2.597 MB / 0.901 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.386, allocations: 8 kB / 0.901 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.3878, allocations: 483.4 kB / 0.9015 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.3893, allocations: 283.5 kB / 0.9018 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.3908, allocations: 1.008 MB / 0.9028 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.3933, allocations: 310.5 kB / 0.9031 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3935, allocations: 59.94 kB / 0.9031 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.3935, allocations: 6.656 kB / 0.9031 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004506/0.398, allocations: 1.524 MB / 0.9046 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.398, allocations: 8 kB / 0.9046 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.3996, allocations: 486.3 kB / 0.9051 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.4009, allocations: 287.5 kB / 0.9054 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.4024, allocations: 0.9897 MB / 0.9063 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.4046, allocations: 286.6 kB / 0.9066 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.4047, allocations: 59.95 kB / 0.9067 GB, free: 36 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0008131/0.4055, allocations: 480.8 kB / 0.9071 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.4058, allocations: 158.1 kB / 0.9073 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.4114, allocations: 1.531 MB / 0.9088 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4114, allocations: 8 kB / 0.9088 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4114, allocations: 0 / 0.9088 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005011/0.4164, allocations: 1.315 MB / 0.9101 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.4307, allocations: 3.876 MB / 0.9138 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4308, allocations: 4 kB / 0.9138 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4318, allocations: 179.7 kB / 0.914 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.4334, allocations: 482.4 kB / 0.9145 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/0.4335, allocations: 27.97 kB / 0.9145 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.435, allocations: 0.9933 MB / 0.9155 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.4351, allocations: 4 kB / 0.9155 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007366/0.4424, allocations: 2.446 MB / 0.9179 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.4435, allocations: 434.7 kB / 0.9183 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.4437, allocations: 24 kB / 0.9183 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.4455, allocations: 176.8 kB / 0.9185 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.4457, allocations: 88.27 kB / 0.9186 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.4458, allocations: 51.94 kB / 0.9186 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001869/0.4477, allocations: 1.046 MB / 0.9196 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4477, allocations: 4 kB / 0.9196 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002735/0.4505, allocations: 0.9667 MB / 0.9206 GB, free: 1.328 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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.00127/0.4517, allocations: 0.5548 MB / 0.9211 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3557/0.8074, allocations: 2.015 MB / 0.9231 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.8075, allocations: 1.125 kB / 0.9231 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.8096, allocations: 0.6322 MB / 0.9237 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/0.8132, allocations: 0.7941 MB / 0.9245 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.8184, allocations: 3.426 MB / 0.9278 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.819, allocations: 1.296 MB / 0.9291 GB, free: 130 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001565/0.8206, allocations: 393.2 kB / 0.9295 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.8209, allocations: 147.5 kB / 0.9296 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.8209, allocations: 0 / 0.9296 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.05585/0.8767, allocations: 38.77 MB / 0.9675 GB, free: 112.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: