Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.705/2.705, allocations: 287.3 MB / 302.3 MB, free: 8.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 173.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001207, allocations: 105.5 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005411, allocations: 12.38 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2427, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.09475/0.3375, allocations: 58.54 MB / 1.035 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02772/0.3653, allocations: 12.03 MB / 1.047 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.3685, allocations: 55.62 kB / 1.047 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004139/0.3727, allocations: 0.7889 MB / 1.048 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.3828, allocations: 2.181 MB / 1.05 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009133/0.392, allocations: 1.906 MB / 1.052 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007446/0.3994, allocations: 2.757 MB / 1.055 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.4029, allocations: 1.306 MB / 1.056 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/0.4076, allocations: 1.312 MB / 1.057 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.411, allocations: 0.8827 MB / 1.058 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.4117, allocations: 72 kB / 1.058 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.4172, allocations: 1.182 MB / 1.059 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009241/0.4181, allocations: 330.7 kB / 1.06 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009618/0.4191, allocations: 424.7 kB / 1.06 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.4255, allocations: 2.685 MB / 1.063 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4256, allocations: 0 / 1.063 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4256, allocations: 0 / 1.063 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001044/0.4257, allocations: 0 / 1.063 GB, free: 5.66 MB / 0.6823 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.006914/0.4326, allocations: 2.058 MB / 1.065 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4327, allocations: 12.03 kB / 1.065 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006824/0.4334, allocations: 198.5 kB / 1.065 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.4441, allocations: 0.7625 MB / 1.066 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.4488, allocations: 1.538 MB / 1.067 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4491, allocations: 140.3 kB / 1.067 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/0.4496, allocations: 139.9 kB / 1.067 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.666/1.116, allocations: 1.818 MB / 1.069 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.175e-05/1.116, allocations: 4.438 kB / 1.069 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/1.116, allocations: 65.62 kB / 1.069 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.116, allocations: 37.08 kB / 1.069 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/1.127, allocations: 1.61 MB / 1.071 GB, free: 88.75 MB / 0.6823 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.02004/1.147, allocations: 7.61 MB / 1.078 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/1.152, allocations: 0.8973 MB / 1.079 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/1.153, allocations: 1.269 MB / 1.08 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.899e-05/1.153, allocations: 50.98 kB / 1.08 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 3.987e-06/1.153, allocations: 0 / 1.08 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.03437/1.188, allocations: 2.816 MB / 1.083 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/1.188, allocations: 190.2 kB / 1.083 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/1.192, allocations: 1.463 MB / 1.085 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003762/1.193, allocations: 52.25 kB / 1.085 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.194, allocations: 0.7571 MB / 1.086 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/1.194, allocations: 273.6 kB / 1.086 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/1.195, allocations: 21.25 kB / 1.086 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.195, allocations: 346.7 kB / 1.086 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.199, allocations: 0.5514 MB / 1.087 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004515/1.204, allocations: 0.8641 MB / 1.088 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/1.208, allocations: 0.5988 MB / 1.088 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/1.208, allocations: 1.312 kB / 1.088 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01072/1.219, allocations: 1.696 MB / 1.09 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006305/1.219, allocations: 2.595 MB / 1.092 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/1.219, allocations: 6.562 kB / 1.092 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003288/1.223, allocations: 494.3 kB / 1.093 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/1.226, allocations: 282.8 kB / 1.093 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/1.229, allocations: 0.9992 MB / 1.094 GB, free: 74.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005164/1.234, allocations: 305.8 kB / 1.094 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/1.235, allocations: 58.98 kB / 1.094 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.235, allocations: 7.375 kB / 1.094 GB, free: 74.06 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0104/1.245, allocations: 1.521 MB / 1.096 GB, free: 73.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/1.245, allocations: 6.688 kB / 1.096 GB, free: 73.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/1.248, allocations: 494.4 kB / 1.096 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.251, allocations: 281 kB / 1.097 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/1.254, allocations: 0.9975 MB / 1.098 GB, free: 72.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/1.259, allocations: 286.7 kB / 1.098 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/1.26, allocations: 57.09 kB / 1.098 GB, free: 72.57 MB / 0.6823 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.001721/1.261, allocations: 486.9 kB / 1.098 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007262/1.262, allocations: 156.5 kB / 1.099 GB, free: 72.13 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/1.274, allocations: 1.535 MB / 1.1 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.56e-05/1.274, allocations: 10.55 kB / 1.1 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.274, allocations: 1.344 kB / 1.1 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01076/1.285, allocations: 1.311 MB / 1.101 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02934/1.314, allocations: 3.873 MB / 1.105 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/1.314, allocations: 3.438 kB / 1.105 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.317, allocations: 177.9 kB / 1.105 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/1.319, allocations: 482.9 kB / 1.106 GB, free: 69.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/1.32, allocations: 35.3 kB / 1.106 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/1.322, allocations: 0.9986 MB / 1.107 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.323, allocations: 8.562 kB / 1.107 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.338, allocations: 2.437 MB / 1.109 GB, free: 66.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.339, allocations: 438.1 kB / 1.11 GB, free: 66.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/1.34, allocations: 21.72 kB / 1.11 GB, free: 66.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004241/1.344, allocations: 184 kB / 1.11 GB, free: 66.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/1.345, allocations: 86.36 kB / 1.11 GB, free: 66.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/1.345, allocations: 52.5 kB / 1.11 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003472/1.348, allocations: 1.044 MB / 1.111 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.072e-06/1.348, allocations: 0 / 1.111 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005353/1.354, allocations: 0.9606 MB / 1.112 GB, free: 65.33 MB / 0.6823 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.01745/1.371, allocations: 4.485 MB / 1.116 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.385, allocations: 2.015 MB / 1.118 GB, free: 61.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/1.385, allocations: 1.281 kB / 1.118 GB, free: 61.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004073/1.389, allocations: 0.6319 MB / 1.119 GB, free: 60.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00721/1.396, allocations: 0.7959 MB / 1.12 GB, free: 60.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.411, allocations: 8.758 MB / 1.128 GB, free: 52.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.413, allocations: 1.297 MB / 1.129 GB, free: 51.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00343/1.416, allocations: 402.7 kB / 1.13 GB, free: 51.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/1.418, allocations: 0.646 MB / 1.13 GB, free: 51.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.393e-06/1.418, allocations: 3.938 kB / 1.131 GB, free: 51.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1668/1.585, allocations: 52.65 MB / 1.182 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/1.585, allocations: 277.2 kB / 1.182 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.288/6.873, allocations: 0 / 1.182 GB, free: 1.047 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)