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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 99.16 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.00149/0.00149, 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.999/1.999, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.772/1.772, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005495/0.0005496, allocations: 20.12 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.278, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06174/0.3398, allocations: 58.53 MB / 0.8444 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.3594, allocations: 12.04 MB / 0.8561 GB, free: 5.156 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.362, allocations: 55.62 kB / 0.8562 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.3649, allocations: 0.7889 MB / 0.857 GB, free: 4.309 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.3726, allocations: 2.177 MB / 0.8591 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006145/0.3787, allocations: 1.904 MB / 0.8609 GB, free: 260 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008936/0.3877, allocations: 2.642 MB / 0.8635 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/0.3908, allocations: 1.164 MB / 0.8647 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004487/0.3953, allocations: 1.257 MB / 0.8659 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.3974, allocations: 0.8244 MB / 0.8667 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.3976, allocations: 68 kB / 0.8668 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.4017, allocations: 1.155 MB / 0.8679 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.4021, allocations: 310.7 kB / 0.8682 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.4028, allocations: 404.8 kB / 0.8686 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.4062, allocations: 2.428 MB / 0.8709 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4062, allocations: 3.938 kB / 0.8709 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4062, allocations: 0 / 0.8709 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.4063, allocations: 0 / 0.8709 GB, free: 5.957 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.003561/0.4098, allocations: 1.897 MB / 0.8728 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4099, allocations: 12.03 kB / 0.8728 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.4101, allocations: 177.4 kB / 0.873 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005117/0.4153, allocations: 0.7316 MB / 0.8737 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.4177, allocations: 1.444 MB / 0.8751 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.4179, allocations: 128 kB / 0.8752 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.4181, allocations: 116 kB / 0.8753 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.4218, allocations: 1.636 MB / 0.8769 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.4218, allocations: 0 / 0.8769 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.4219, allocations: 52 kB / 0.877 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.422, allocations: 35.98 kB / 0.877 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.4264, allocations: 1.488 MB / 0.8785 GB, free: 14.01 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.009705/0.4361, allocations: 7.065 MB / 0.8854 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.4382, allocations: 0.75 MB / 0.8861 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.4395, allocations: 1.267 MB / 0.8873 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4395, allocations: 43.12 kB / 0.8874 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 2.435e-06/0.4395, allocations: 4 kB / 0.8874 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.01891/0.4584, allocations: 3.103 MB / 0.8904 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/0.4585, allocations: 111.4 kB / 0.8905 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.4606, allocations: 1.398 MB / 0.8919 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.4608, allocations: 45.7 kB / 0.8919 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000589/0.4614, allocations: 0.6955 MB / 0.8926 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.4616, allocations: 240.6 kB / 0.8928 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.4617, allocations: 23.94 kB / 0.8929 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4618, allocations: 337.9 kB / 0.8932 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.4636, allocations: 0.5172 MB / 0.8937 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.4656, allocations: 0.794 MB / 0.8945 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.4675, allocations: 0.5575 MB / 0.895 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4675, allocations: 0 / 0.895 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01165/0.4791, allocations: 2.155 MB / 0.8971 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000942/0.4801, allocations: 2.497 MB / 0.8996 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4801, allocations: 4 kB / 0.8996 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.4819, allocations: 490.6 kB / 0.9 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.4833, allocations: 267.6 kB / 0.9003 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.4849, allocations: 1.005 MB / 0.9013 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.4874, allocations: 282.6 kB / 0.9015 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4875, allocations: 51.95 kB / 0.9016 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4875, allocations: 4 kB / 0.9016 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/0.4985, allocations: 1.999 MB / 0.9035 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.4986, allocations: 12.06 kB / 0.9035 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.5003, allocations: 489.8 kB / 0.904 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.5017, allocations: 267.6 kB / 0.9043 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.5034, allocations: 1.001 MB / 0.9052 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.5057, allocations: 250.8 kB / 0.9055 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.5059, allocations: 51.95 kB / 0.9055 GB, free: 1.238 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.0009414/0.5069, allocations: 455.5 kB / 0.906 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.5073, allocations: 142.3 kB / 0.9061 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/0.5116, allocations: 1.337 MB / 0.9074 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.5116, allocations: 8 kB / 0.9074 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5116, allocations: 0 / 0.9074 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003447/0.515, allocations: 1.143 MB / 0.9085 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007521/0.5226, allocations: 3.1 MB / 0.9116 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5226, allocations: 11.97 kB / 0.9116 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.5235, allocations: 155.7 kB / 0.9117 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.5251, allocations: 484.4 kB / 0.9122 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.5252, allocations: 23.97 kB / 0.9122 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.5267, allocations: 1 MB / 0.9132 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5267, allocations: 8 kB / 0.9132 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/0.5326, allocations: 2.245 MB / 0.9154 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/0.5336, allocations: 406.9 kB / 0.9158 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/0.534, allocations: 20 kB / 0.9158 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.536, allocations: 158.5 kB / 0.9159 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5361, allocations: 64.25 kB / 0.916 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.5362, allocations: 47.95 kB / 0.916 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001949/0.5382, allocations: 1.001 MB / 0.917 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5382, allocations: 4 kB / 0.917 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002874/0.5411, allocations: 0.8968 MB / 0.9179 GB, free: 4.078 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.3844/0.9255, allocations: 4.389 MB / 0.9222 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006771/0.9323, allocations: 1.855 MB / 0.924 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.9323, allocations: 5.969 kB / 0.924 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.9342, allocations: 0.5388 MB / 0.9245 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.9381, allocations: 0.7709 MB / 0.9253 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.9464, allocations: 8.201 MB / 0.9333 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.9471, allocations: 1.241 MB / 0.9345 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001955/0.9491, allocations: 370.8 kB / 0.9349 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009753/0.9501, allocations: 0.5833 MB / 0.9354 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.001e-06/0.9501, allocations: 0 / 0.9354 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.562/5.512, allocations: 49.86 MB / 0.9841 GB, free: 96.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001157/5.512, allocations: 264.4 kB / 0.9844 GB, free: 96.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/8.87, allocations: 3.984 kB / 0.9844 GB, free: 96.09 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: