Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_latest_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.0009726/0.0009726, 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.001069/0.001069, 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.233/1.233, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6346, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.09337/0.728, allocations: 109.4 MB / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.7539, allocations: 21.38 MB / 1.109 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.7572, allocations: 115.2 kB / 1.109 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.7609, allocations: 1.457 MB / 1.11 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.7714, allocations: 4.186 MB / 1.114 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00804/0.7794, allocations: 3.125 MB / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007717/0.7871, allocations: 5.078 MB / 1.122 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.7901, allocations: 2.276 MB / 1.124 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.7942, allocations: 2.421 MB / 1.127 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.7962, allocations: 1.571 MB / 1.128 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.7965, allocations: 132 kB / 1.128 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.8004, allocations: 1.736 MB / 1.13 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005251/0.801, allocations: 0.568 MB / 1.131 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/0.8017, allocations: 0.7305 MB / 1.131 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/0.8061, allocations: 4.555 MB / 1.136 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.8061, allocations: 0 / 1.136 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8061, allocations: 0 / 1.136 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.8062, allocations: 0 / 1.136 GB, free: 7.223 MB / 0.8887 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.005399/0.8116, allocations: 3.362 MB / 1.139 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8116, allocations: 8.031 kB / 1.139 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003915/0.812, allocations: 332.7 kB / 1.139 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009844/0.8219, allocations: 1.451 MB / 1.141 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.8264, allocations: 2.721 MB / 1.144 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.8266, allocations: 255.9 kB / 1.144 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.827, allocations: 239.9 kB / 1.144 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006674/0.8336, allocations: 3.21 MB / 1.147 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/0.8337, allocations: 3.938 kB / 1.147 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.834, allocations: 100 kB / 1.147 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.834, allocations: 75.92 kB / 1.147 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008273/0.8423, allocations: 2.874 MB / 1.15 GB, free: 8.195 MB / 0.9044 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.0172/0.8595, allocations: 13.74 MB / 1.164 GB, free: 9.812 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/0.8635, allocations: 1.507 MB / 1.165 GB, free: 8.301 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.8651, allocations: 1.773 MB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003348/0.8685, allocations: 1.212 MB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 3.026e-06/0.8685, allocations: 0 / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=130): time 0.04876/0.9172, allocations: 11.82 MB / 1.179 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.9175, allocations: 0.5882 MB / 1.18 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.9211, allocations: 2.686 MB / 1.183 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.9213, allocations: 61.7 kB / 1.183 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009944/0.9223, allocations: 1.325 MB / 1.184 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.9227, allocations: 453.5 kB / 1.184 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.9228, allocations: 36 kB / 1.185 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9229, allocations: 373.9 kB / 1.185 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/0.9264, allocations: 0.9954 MB / 1.186 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/0.9301, allocations: 1.581 MB / 1.187 GB, free: 380 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/0.9337, allocations: 1.132 MB / 1.188 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.9337, allocations: 4 kB / 1.188 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02086/0.9546, allocations: 4.24 MB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.001586/0.9562, allocations: 5.246 MB / 1.198 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.9562, allocations: 12 kB / 1.198 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003541/0.9598, allocations: 1.161 MB / 1.199 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/0.9622, allocations: 471.2 kB / 1.199 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.9657, allocations: 2.386 MB / 1.202 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004846/0.9706, allocations: 404.8 kB / 1.202 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.9708, allocations: 107.9 kB / 1.202 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.9709, allocations: 0 / 1.202 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0205/0.9914, allocations: 3.961 MB / 1.206 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.9914, allocations: 20.2 kB / 1.206 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/0.9949, allocations: 1.163 MB / 1.207 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.9972, allocations: 471.1 kB / 1.208 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/1.001, allocations: 2.382 MB / 1.21 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003905/1.005, allocations: 379.2 kB / 1.21 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.005, allocations: 103.9 kB / 1.21 GB, free: 8.207 MB / 0.9669 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.001314/1.006, allocations: 0.6998 MB / 1.211 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/1.007, allocations: 280.6 kB / 1.211 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.021, allocations: 3.045 MB / 1.214 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/1.021, allocations: 12 kB / 1.214 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.021, allocations: 4 kB / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01298/1.034, allocations: 2.638 MB / 1.217 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/1.053, allocations: 7.046 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.053, allocations: 8 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.054, allocations: 284.2 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/1.057, allocations: 1.02 MB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/1.057, allocations: 43.95 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/1.06, allocations: 2.158 MB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.06, allocations: 12.06 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.077, allocations: 5.014 MB / 1.232 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.079, allocations: 0.6769 MB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/1.079, allocations: 40.31 kB / 1.233 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/1.082, allocations: 305.2 kB / 1.233 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.082, allocations: 116.7 kB / 1.233 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.082, allocations: 79.92 kB / 1.233 GB, free: 4 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002613/1.085, allocations: 1.89 MB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.085, allocations: 3.938 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003497/1.088, allocations: 1.492 MB / 1.237 GB, free: 12.62 MB / 0.9981 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.0184/1.107, allocations: 7.912 MB / 1.244 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.118, allocations: 3.761 MB / 1.248 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.118, allocations: 8.422 kB / 1.248 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4616/1.579, allocations: 1.099 MB / 1.249 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008225/1.587, allocations: 1.473 MB / 1.251 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/1.605, allocations: 15.94 MB / 1.266 GB, free: 245.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.607, allocations: 1.778 MB / 1.268 GB, free: 244.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004158/1.611, allocations: 0.6626 MB / 1.269 GB, free: 244.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.613, allocations: 1.165 MB / 1.27 GB, free: 243.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.613, allocations: 0 / 1.27 GB, free: 243.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.264/2.877, allocations: 95.88 MB / 1.363 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.877, allocations: 284.2 kB / 1.364 GB, free: 160 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.675/7.553, allocations: 3.656 kB / 1.364 GB, free: 160 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat