Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.001386/0.001386, 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.001861/0.001862, 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.461/1.461, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.473/2.473, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8238/0.8242, allocations: 142.3 MB / 0.9536 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1173/0.9415, allocations: 109.4 MB / 1.06 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03332/0.9749, allocations: 21.38 MB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006442/0.9814, allocations: 119.2 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006353/0.9878, allocations: 1.453 MB / 1.083 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01577/1.004, allocations: 4.183 MB / 1.087 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01123/1.015, allocations: 3.135 MB / 1.09 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01221/1.027, allocations: 5.085 MB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004688/1.032, allocations: 2.272 MB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006858/1.039, allocations: 2.417 MB / 1.1 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004342/1.043, allocations: 1.571 MB / 1.101 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0009483/1.044, allocations: 132 kB / 1.101 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006672/1.051, allocations: 1.748 MB / 1.103 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/1.052, allocations: 0.568 MB / 1.103 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/1.054, allocations: 0.7305 MB / 1.104 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007881/1.061, allocations: 4.559 MB / 1.109 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.062, allocations: 3.938 kB / 1.109 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/1.062, allocations: 0 / 1.109 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001573/1.062, allocations: 0 / 1.109 GB, free: 1.074 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007727/1.069, allocations: 3.347 MB / 1.112 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.07, allocations: 12.03 kB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007777/1.07, allocations: 324.7 kB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/1.081, allocations: 1.451 MB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005725/1.087, allocations: 2.717 MB / 1.116 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/1.087, allocations: 259.9 kB / 1.117 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/1.088, allocations: 231.9 kB / 1.117 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008018/1.096, allocations: 3.206 MB / 1.12 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/1.096, allocations: 15.83 kB / 1.12 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/1.096, allocations: 96 kB / 1.12 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-05/1.096, allocations: 75.94 kB / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009267/1.106, allocations: 2.881 MB / 1.123 GB, free: 2.062 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.0226/1.128, allocations: 13.73 MB / 1.136 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/1.133, allocations: 1.502 MB / 1.138 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/1.135, allocations: 1.785 MB / 1.139 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003756/1.138, allocations: 1.204 MB / 1.141 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=126): time 3.196e-06/1.138, allocations: 0 / 1.141 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=130): time 0.05282/1.191, allocations: 11.82 MB / 1.152 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002771/1.192, allocations: 0.5805 MB / 1.153 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/1.196, allocations: 2.69 MB / 1.155 GB, free: 15.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003925/1.196, allocations: 61.69 kB / 1.155 GB, free: 15.26 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/1.198, allocations: 1.325 MB / 1.157 GB, free: 13.92 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/1.198, allocations: 457.5 kB / 1.157 GB, free: 13.47 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/1.198, allocations: 36 kB / 1.157 GB, free: 13.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.198, allocations: 381.8 kB / 1.158 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/1.202, allocations: 0.9954 MB / 1.159 GB, free: 12.06 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/1.206, allocations: 1.585 MB / 1.16 GB, free: 10.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/1.21, allocations: 1.132 MB / 1.161 GB, free: 9.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.21, allocations: 4 kB / 1.161 GB, free: 9.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02292/1.233, allocations: 4.232 MB / 1.165 GB, free: 4.828 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.002325/1.235, allocations: 5.245 MB / 1.17 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/1.235, allocations: 15.95 kB / 1.17 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/1.239, allocations: 1.156 MB / 1.172 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/1.242, allocations: 475.2 kB / 1.172 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/1.246, allocations: 2.387 MB / 1.174 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.251, allocations: 419.1 kB / 1.175 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004461/1.252, allocations: 107.9 kB / 1.175 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.252, allocations: 4 kB / 1.175 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0231/1.275, allocations: 3.952 MB / 1.179 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/1.275, allocations: 12 kB / 1.179 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003818/1.279, allocations: 1.172 MB / 1.18 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/1.281, allocations: 467.2 kB / 1.18 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/1.285, allocations: 2.378 MB / 1.183 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/1.29, allocations: 373.5 kB / 1.183 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/1.29, allocations: 107.9 kB / 1.183 GB, free: 2.074 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (164): * Single equations (assignments): 161 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001608/1.292, allocations: 0.692 MB / 1.184 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006968/1.293, allocations: 284.6 kB / 1.184 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/1.308, allocations: 3.035 MB / 1.187 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/1.308, allocations: 16 kB / 1.187 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.308, allocations: 3.984 kB / 1.187 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01437/1.323, allocations: 2.642 MB / 1.19 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/1.344, allocations: 7.046 MB / 1.197 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/1.344, allocations: 8 kB / 1.197 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.346, allocations: 275.9 kB / 1.197 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/1.35, allocations: 1.024 MB / 1.198 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/1.35, allocations: 51.94 kB / 1.198 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/1.353, allocations: 2.149 MB / 1.2 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.353, allocations: 8 kB / 1.2 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/1.374, allocations: 5.032 MB / 1.205 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/1.376, allocations: 0.681 MB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005408/1.377, allocations: 36 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/1.38, allocations: 301 kB / 1.206 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/1.381, allocations: 116.7 kB / 1.206 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.381, allocations: 71.92 kB / 1.206 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003378/1.384, allocations: 1.894 MB / 1.208 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/1.384, allocations: 4 kB / 1.208 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.005438/1.39, allocations: 1.496 MB / 1.209 GB, free: 6.473 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (80): * Single equations (assignments): 74 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02287/1.413, allocations: 7.912 MB / 1.217 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.427, allocations: 3.764 MB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.427, allocations: 4.438 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004157/1.431, allocations: 1.099 MB / 1.222 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008212/1.44, allocations: 1.475 MB / 1.223 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/1.46, allocations: 15.96 MB / 1.239 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.462, allocations: 1.778 MB / 1.241 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003614/1.465, allocations: 0.6557 MB / 1.241 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.467, allocations: 1.167 MB / 1.242 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.467, allocations: 0 / 1.242 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.654/2.121, allocations: 95.89 MB / 1.336 GB, free: 237.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/2.121, allocations: 256.6 kB / 1.336 GB, free: 236.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.961/7.082, allocations: 0 / 1.336 GB, free: 236.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat