Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",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.001225/0.001225, allocations: 99.86 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.001438/0.001439, 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 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6653 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003823, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7511, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1094/0.8605, allocations: 109.4 MB / 1.06 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03865/0.8992, allocations: 21.38 MB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009149/0.9084, allocations: 119.2 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.9186, allocations: 1.453 MB / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.02284/0.9416, allocations: 4.182 MB / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01553/0.9571, allocations: 3.137 MB / 1.09 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01546/0.9726, allocations: 5.105 MB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00754/0.9802, allocations: 2.272 MB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007873/0.9882, allocations: 2.437 MB / 1.1 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.9924, allocations: 1.575 MB / 1.101 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00133/0.9938, allocations: 132 kB / 1.101 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007327/1.001, allocations: 1.74 MB / 1.103 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/1.003, allocations: 0.5758 MB / 1.104 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/1.005, allocations: 0.7343 MB / 1.104 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008822/1.014, allocations: 4.57 MB / 1.109 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.014, allocations: 0 / 1.109 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/1.014, allocations: 0 / 1.109 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000206/1.014, allocations: 4 kB / 1.109 GB, free: 1 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008744/1.023, allocations: 3.366 MB / 1.112 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.023, allocations: 12.03 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001026/1.024, allocations: 324.8 kB / 1.112 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/1.035, allocations: 1.463 MB / 1.114 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007443/1.043, allocations: 2.725 MB / 1.116 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004086/1.043, allocations: 251.9 kB / 1.117 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008448/1.044, allocations: 232 kB / 1.117 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/1.055, allocations: 3.209 MB / 1.12 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/1.055, allocations: 7.938 kB / 1.12 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006163/1.055, allocations: 104 kB / 1.12 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/1.055, allocations: 75.95 kB / 1.12 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/1.066, allocations: 2.878 MB / 1.123 GB, free: 1.965 MB / 0.8731 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.02687/1.093, allocations: 13.53 MB / 1.136 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/1.098, allocations: 1.527 MB / 1.138 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002125/1.1, allocations: 1.787 MB / 1.139 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0043/1.104, allocations: 1.236 MB / 1.141 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=130): time 6.162e-06/1.104, allocations: 0 / 1.141 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=130): time 0.04127/1.146, allocations: 5.978 MB / 1.146 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/1.146, allocations: 0.5766 MB / 1.147 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/1.152, allocations: 2.594 MB / 1.15 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005033/1.152, allocations: 61.7 kB / 1.15 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/1.154, allocations: 1.347 MB / 1.151 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008413/1.155, allocations: 457.5 kB / 1.151 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/1.155, allocations: 32 kB / 1.151 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002372/1.155, allocations: 373.9 kB / 1.152 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/1.159, allocations: 1.023 MB / 1.153 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004943/1.164, allocations: 1.599 MB / 1.154 GB, free: 308 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/1.17, allocations: 1.151 MB / 1.155 GB, free: 15.15 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.17, allocations: 8 kB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02432/1.194, allocations: 4.139 MB / 1.16 GB, free: 10.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.002477/1.196, allocations: 5.023 MB / 1.164 GB, free: 5.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/1.196, allocations: 12 kB / 1.164 GB, free: 5.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003718/1.2, allocations: 0.9591 MB / 1.165 GB, free: 4.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/1.203, allocations: 0.507 MB / 1.166 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/1.207, allocations: 1.99 MB / 1.168 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005559/1.212, allocations: 0.5255 MB / 1.168 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/1.213, allocations: 107.9 kB / 1.168 GB, free: 1.371 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.213, allocations: 4 kB / 1.168 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02209/1.235, allocations: 3.867 MB / 1.172 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/1.235, allocations: 12 kB / 1.172 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/1.239, allocations: 0.9587 MB / 1.173 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/1.242, allocations: 0.5031 MB / 1.174 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/1.245, allocations: 1.997 MB / 1.176 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/1.25, allocations: 479.2 kB / 1.176 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000464/1.251, allocations: 103.9 kB / 1.176 GB, free: 9.395 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002022/1.253, allocations: 0.6959 MB / 1.177 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.254, allocations: 276.7 kB / 1.177 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.265, allocations: 2.587 MB / 1.18 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/1.266, allocations: 12 kB / 1.18 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.266, allocations: 4 kB / 1.18 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01026/1.276, allocations: 2.185 MB / 1.182 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/1.304, allocations: 7.607 MB / 1.189 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/1.305, allocations: 8 kB / 1.189 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.306, allocations: 296.1 kB / 1.189 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003435/1.31, allocations: 0.9462 MB / 1.19 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/1.31, allocations: 47.95 kB / 1.19 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/1.314, allocations: 1.979 MB / 1.192 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/1.314, allocations: 15.94 kB / 1.192 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.328, allocations: 4.458 MB / 1.197 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.331, allocations: 0.6885 MB / 1.197 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.332, allocations: 40 kB / 1.197 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/1.336, allocations: 299.6 kB / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/1.336, allocations: 124.6 kB / 1.198 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.336, allocations: 71.92 kB / 1.198 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003983/1.34, allocations: 1.817 MB / 1.2 GB, free: 464 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.34, allocations: 4 kB / 1.2 GB, free: 460 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006672/1.347, allocations: 1.7 MB / 1.201 GB, free: 14.75 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0156/1.363, allocations: 7.519 MB / 1.209 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.376, allocations: 3.763 MB / 1.212 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/1.376, allocations: 8.422 kB / 1.212 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/1.38, allocations: 1.099 MB / 1.213 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007453/1.388, allocations: 1.374 MB / 1.215 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.411, allocations: 15.66 MB / 1.23 GB, free: 492 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002598/1.413, allocations: 1.769 MB / 1.232 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006213/1.42, allocations: 0.6916 MB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002956/1.423, allocations: 1.159 MB / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.423, allocations: 0 / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6783/2.101, allocations: 91.57 MB / 1.323 GB, free: 249.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/2.101, allocations: 274.1 kB / 1.323 GB, free: 249.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.602/6.703, allocations: 0 / 1.323 GB, free: 249.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat