Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 180.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.3 MB / 0.7915 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009979, allocations: 87.95 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.707e-05/4.731e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3228, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/1.619, allocations: 435.9 MB / 1.644 GB, free: 14.58 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.619, allocations: 91.94 kB / 1.645 GB, free: 14.49 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.568/4.187, allocations: 0.5604 GB / 2.205 GB, free: 238.7 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.074e-06/4.187, allocations: 1.125 kB / 2.205 GB, free: 238.7 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001711/4.187, allocations: 39.09 kB / 2.205 GB, free: 238.7 MB / 1.135 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.004607/4.192, allocations: 1.863 MB / 2.207 GB, free: 237.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/4.192, allocations: 7.688 kB / 2.207 GB, free: 237.9 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/4.192, allocations: 177.4 kB / 2.207 GB, free: 237.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004474/4.197, allocations: 0.6677 MB / 2.208 GB, free: 237.8 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/4.2, allocations: 1.788 MB / 2.209 GB, free: 237.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/4.2, allocations: 128.5 kB / 2.21 GB, free: 237.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/4.2, allocations: 117.5 kB / 2.21 GB, free: 237.4 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/4.203, allocations: 1.46 MB / 2.211 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/4.203, allocations: 7.969 kB / 2.211 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/4.203, allocations: 56.2 kB / 2.211 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-05/4.203, allocations: 54.95 kB / 2.211 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/4.205, allocations: 1.107 MB / 2.212 GB, free: 237.1 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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.009008/4.214, allocations: 7.093 MB / 2.219 GB, free: 234 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/4.215, allocations: 0.6118 MB / 2.22 GB, free: 233.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/4.215, allocations: 349 kB / 2.22 GB, free: 233.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/4.216, allocations: 1.274 MB / 2.221 GB, free: 232.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/4.216, allocations: 44.62 kB / 2.221 GB, free: 232.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=66): time 2.915e-06/4.216, allocations: 0 / 2.221 GB, free: 232.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=66): time 0.00165/4.218, allocations: 0.8733 MB / 2.222 GB, free: 232.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/4.218, allocations: 111 kB / 2.222 GB, free: 232.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/4.219, allocations: 1.226 MB / 2.224 GB, free: 232.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/4.22, allocations: 43.58 kB / 2.224 GB, free: 232 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/4.22, allocations: 0.7034 MB / 2.224 GB, free: 231.8 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/4.22, allocations: 226.2 kB / 2.224 GB, free: 231.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/4.22, allocations: 16.53 kB / 2.224 GB, free: 231.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/4.22, allocations: 336.2 kB / 2.225 GB, free: 231.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/4.221, allocations: 322.4 kB / 2.225 GB, free: 231.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/4.221, allocations: 0.5925 MB / 2.226 GB, free: 231.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/4.222, allocations: 371.3 kB / 2.226 GB, free: 231 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/4.222, allocations: 0 / 2.226 GB, free: 231 MB / 1.135 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001874/4.224, allocations: 1.166 MB / 2.227 GB, free: 230.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004707/4.224, allocations: 2.498 MB / 2.23 GB, free: 228.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/4.224, allocations: 7.125 kB / 2.23 GB, free: 228.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/4.226, allocations: 0.5174 MB / 2.23 GB, free: 228.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/4.227, allocations: 242.2 kB / 2.23 GB, free: 228.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/4.228, allocations: 1.079 MB / 2.231 GB, free: 227.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/4.231, allocations: 279.9 kB / 2.232 GB, free: 227.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/4.231, allocations: 52.41 kB / 2.232 GB, free: 227.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/4.231, allocations: 3.938 kB / 2.232 GB, free: 227.8 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/4.233, allocations: 1.02 MB / 2.233 GB, free: 227.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/4.233, allocations: 3.375 kB / 2.233 GB, free: 227.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/4.234, allocations: 0.5237 MB / 2.233 GB, free: 227.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/4.235, allocations: 240.2 kB / 2.233 GB, free: 227.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/4.237, allocations: 1.085 MB / 2.235 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/4.239, allocations: 245.7 kB / 2.235 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/4.239, allocations: 51.34 kB / 2.235 GB, free: 227.2 MB / 1.135 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003916/4.24, allocations: 160.7 kB / 2.235 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/4.24, allocations: 152.9 kB / 2.235 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/4.244, allocations: 1.071 MB / 2.236 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/4.244, allocations: 10.52 kB / 2.236 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/4.244, allocations: 0 / 2.236 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002809/4.246, allocations: 0.9405 MB / 2.237 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/4.252, allocations: 3.12 MB / 2.24 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/4.252, allocations: 3.719 kB / 2.24 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/4.253, allocations: 153.4 kB / 2.24 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/4.254, allocations: 494.2 kB / 2.241 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.661e-05/4.254, allocations: 29.36 kB / 2.241 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/4.256, allocations: 1.07 MB / 2.242 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/4.256, allocations: 9.484 kB / 2.242 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/4.258, allocations: 1.31 MB / 2.243 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/4.259, allocations: 397.9 kB / 2.244 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005365/4.259, allocations: 18.12 kB / 2.244 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/4.261, allocations: 152.7 kB / 2.244 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/4.261, allocations: 60.22 kB / 2.244 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/4.261, allocations: 44.22 kB / 2.244 GB, free: 224.4 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.00153/4.263, allocations: 0.957 MB / 2.245 GB, free: 224.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 3e-07/4.263, allocations: 0 / 2.245 GB, free: 224.3 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003454/4.266, allocations: 0.9766 MB / 2.246 GB, free: 224.1 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004131/4.27, allocations: 3.567 MB / 2.249 GB, free: 221.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002684/4.273, allocations: 1.377 MB / 2.25 GB, free: 221.9 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/4.273, allocations: 6.672 kB / 2.251 GB, free: 221.9 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/4.274, allocations: 400.4 kB / 2.251 GB, free: 221.9 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/4.277, allocations: 0.776 MB / 2.252 GB, free: 221.9 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/4.283, allocations: 2.279 MB / 2.254 GB, free: 221.2 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/4.283, allocations: 1.244 MB / 2.255 GB, free: 220.5 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002014/4.285, allocations: 438.1 kB / 2.256 GB, free: 220.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/4.286, allocations: 0.537 MB / 2.256 GB, free: 220.4 MB / 1.135 GB Notification: Performance of SimCode: time 2.464e-06/4.286, allocations: 0 / 2.256 GB, free: 220.4 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.089/4.375, allocations: 57.7 MB / 2.312 GB, free: 215.3 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/4.375, allocations: 240.8 kB / 2.313 GB, free: 215 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.093/8.468, allocations: 0 / 2.313 GB, free: 215 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat