Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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.262/2.262, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001634/0.001633, allocations: 187.3 kB / 0.4901 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.0009973/0.000997, allocations: 104.9 kB / 0.9396 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 11.06 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3016, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.4969, allocations: 150.6 MB / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.4973, allocations: 83.94 kB / 1.376 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003683/0.501, allocations: 1.26 MB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.033e-06/0.501, allocations: 3.938 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.501, allocations: 0 / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005656/0.5016, allocations: 407 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5017, allocations: 8.031 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.5017, allocations: 42.55 kB / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.5017, allocations: 4 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.5019, allocations: 186.7 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5019, allocations: 0 / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.5019, allocations: 8 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.5022, allocations: 109.6 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5023, allocations: 0 / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5023, allocations: 0 / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5023, allocations: 4 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.5027, allocations: 135.8 kB / 1.379 GB, free: 380 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.5032, allocations: 304.7 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.5035, allocations: 102.6 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.5036, allocations: 4 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5036, allocations: 34.59 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.5036, allocations: 0 / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0007556/0.5043, allocations: 237.7 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.5044, allocations: 59.34 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.5045, allocations: 112.9 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.5045, allocations: 29.7 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.5046, allocations: 95.98 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.5046, allocations: 19.8 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5046, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5047, allocations: 314.8 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.505, allocations: 71.88 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.5052, allocations: 63.95 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.5054, allocations: 75.81 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5054, allocations: 4 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004711/0.5059, allocations: 169.5 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5059, allocations: 4 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5059, allocations: 3.984 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5059, allocations: 0 / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.5061, allocations: 36.41 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5061, allocations: 7.984 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.5063, allocations: 27.88 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.5063, allocations: 4 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.5064, allocations: 123.1 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.5064, allocations: 7.906 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.5065, allocations: 8.375 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5065, allocations: 7.938 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5065, allocations: 0 / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5065, allocations: 0 / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.5067, allocations: 189.5 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5067, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.5069, allocations: 39.97 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5069, allocations: 0 / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5069, allocations: 7.984 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5069, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5069, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.5074, allocations: 275.3 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.5075, allocations: 85.02 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.5075, allocations: 0 / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.5077, allocations: 23.97 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.5077, allocations: 19.92 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.5078, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.5078, allocations: 95.27 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5078, allocations: 0 / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002288/0.5081, allocations: 12 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009489/0.509, allocations: 0.8049 MB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.5095, allocations: 151.8 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5095, allocations: 0 / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.5098, allocations: 71.94 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.51, allocations: 15.94 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.5106, allocations: 213 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.511, allocations: 0.6926 MB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.262e-05/0.511, allocations: 4 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.5111, allocations: 19.38 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/0.5111, allocations: 0 / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.5241, allocations: 1.718 MB / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.5244, allocations: 206.5 kB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.209, allocations: 0 / 1.385 GB, free: 9.699 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat does not exist to compare? outputFormat=mat