Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.273/2.273, allocations: 390.3 MB / 402.8 MB, free: 6.637 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.001252/0.001252, allocations: 168.9 kB / 496.1 MB, free: 12.86 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.665/1.665, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.001999/0.001999, allocations: 95.88 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.632e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.608, allocations: 435.9 MB / 1.644 GB, free: 14.48 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/1.609, allocations: 87.95 kB / 1.645 GB, free: 14.39 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.66/4.269, allocations: 0.5603 GB / 2.205 GB, free: 238.5 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.282e-06/4.269, allocations: 3.188 kB / 2.205 GB, free: 238.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.000244/4.269, allocations: 46.52 kB / 2.205 GB, free: 238.5 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.00521/4.274, allocations: 1.834 MB / 2.207 GB, free: 237.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/4.274, allocations: 10.91 kB / 2.207 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005142/4.275, allocations: 179.4 kB / 2.207 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/4.28, allocations: 0.6673 MB / 2.208 GB, free: 237.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/4.284, allocations: 1.783 MB / 2.209 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/4.284, allocations: 132.1 kB / 2.209 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/4.285, allocations: 120.7 kB / 2.21 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/4.288, allocations: 1.45 MB / 2.211 GB, free: 237 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/4.288, allocations: 7.062 kB / 2.211 GB, free: 237 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/4.288, allocations: 52.3 kB / 2.211 GB, free: 237 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/4.288, allocations: 52.47 kB / 2.211 GB, free: 237 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/4.291, allocations: 1.11 MB / 2.212 GB, free: 237 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.01042/4.301, allocations: 6.805 MB / 2.219 GB, free: 234.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/4.302, allocations: 0.5415 MB / 2.219 GB, free: 234.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/4.303, allocations: 347.2 kB / 2.22 GB, free: 234.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/4.304, allocations: 1.267 MB / 2.221 GB, free: 232.7 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/4.304, allocations: 49.25 kB / 2.221 GB, free: 232.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=64): time 3.146e-06/4.304, allocations: 2.312 kB / 2.221 GB, free: 232.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=64): time 0.009951/4.314, allocations: 1.437 MB / 2.222 GB, free: 232.5 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/4.314, allocations: 115 kB / 2.222 GB, free: 232.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/4.317, allocations: 1.22 MB / 2.224 GB, free: 232.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/4.317, allocations: 48.62 kB / 2.224 GB, free: 232.2 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007622/4.318, allocations: 0.6976 MB / 2.224 GB, free: 232 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/4.318, allocations: 226.7 kB / 2.225 GB, free: 231.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/4.318, allocations: 20.53 kB / 2.225 GB, free: 231.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001068/4.318, allocations: 337.9 kB / 2.225 GB, free: 231.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/4.319, allocations: 331.3 kB / 2.225 GB, free: 231.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/4.32, allocations: 0.6033 MB / 2.226 GB, free: 231.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/4.321, allocations: 383.4 kB / 2.226 GB, free: 231.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/4.321, allocations: 0 / 2.226 GB, free: 231.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01003/4.331, allocations: 1.733 MB / 2.228 GB, free: 231.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006141/4.331, allocations: 2.491 MB / 2.23 GB, free: 228.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/4.331, allocations: 7.625 kB / 2.23 GB, free: 228.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/4.333, allocations: 429.9 kB / 2.231 GB, free: 228.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/4.334, allocations: 247.1 kB / 2.231 GB, free: 228.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009792/4.335, allocations: 0.9106 MB / 2.232 GB, free: 228 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/4.338, allocations: 277.2 kB / 2.232 GB, free: 228 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/4.338, allocations: 58.61 kB / 2.232 GB, free: 228 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/4.338, allocations: 3.125 kB / 2.232 GB, free: 228 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009347/4.348, allocations: 1.576 MB / 2.234 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/4.348, allocations: 7.219 kB / 2.234 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/4.349, allocations: 415.6 kB / 2.234 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/4.35, allocations: 256.2 kB / 2.234 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008884/4.351, allocations: 0.8992 MB / 2.235 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/4.354, allocations: 241.1 kB / 2.235 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/4.354, allocations: 50.06 kB / 2.236 GB, free: 227.3 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 (86): * Single equations (assignments): 85 * 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.0004921/4.355, allocations: 167.9 kB / 2.236 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006131/4.355, allocations: 141.8 kB / 2.236 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/4.358, allocations: 0.9437 MB / 2.237 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/4.358, allocations: 7.906 kB / 2.237 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/4.358, allocations: 0 / 2.237 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/4.359, allocations: 0.8178 MB / 2.238 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/4.364, allocations: 2.713 MB / 2.24 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/4.364, allocations: 3.812 kB / 2.24 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009104/4.365, allocations: 152.3 kB / 2.24 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/4.366, allocations: 408.9 kB / 2.241 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/4.366, allocations: 25.34 kB / 2.241 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008408/4.367, allocations: 0.9039 MB / 2.242 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/4.367, allocations: 8.062 kB / 2.242 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/4.369, allocations: 1.72 MB / 2.243 GB, free: 225.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/4.37, allocations: 401.6 kB / 2.244 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/4.371, allocations: 23.42 kB / 2.244 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/4.373, allocations: 138.1 kB / 2.244 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/4.373, allocations: 62.02 kB / 2.244 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/4.373, allocations: 43.7 kB / 2.244 GB, free: 224.9 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001872/4.375, allocations: 0.9682 MB / 2.245 GB, free: 224.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 3.81e-07/4.375, allocations: 0 / 2.245 GB, free: 224.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003937/4.379, allocations: 0.9807 MB / 2.246 GB, free: 224.6 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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.005012/4.384, allocations: 4.09 MB / 2.25 GB, free: 222.3 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0028/4.387, allocations: 1.367 MB / 2.251 GB, free: 222.2 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/4.387, allocations: 3.688 kB / 2.251 GB, free: 222.2 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/4.388, allocations: 380.8 kB / 2.252 GB, free: 222.2 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/4.392, allocations: 0.7712 MB / 2.252 GB, free: 222.2 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/4.399, allocations: 2.37 MB / 2.255 GB, free: 221.5 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/4.4, allocations: 1.24 MB / 2.256 GB, free: 220.8 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0025/4.402, allocations: 459.9 kB / 2.256 GB, free: 220.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/4.403, allocations: 0.5631 MB / 2.257 GB, free: 220.7 MB / 1.135 GB Notification: Performance of SimCode: time 1.763e-06/4.403, allocations: 0 / 2.257 GB, free: 220.7 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0967/4.5, allocations: 57.06 MB / 2.313 GB, free: 215.2 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/4.5, allocations: 243.9 kB / 2.313 GB, free: 214.9 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/8.378, allocations: 2.109 kB / 2.313 GB, free: 214.9 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat