Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6968/0.6968, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 183.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008184, allocations: 95.47 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001635/0.001635, allocations: 278.5 kB / 0.594 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.976e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3366, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.4449, allocations: 112.3 MB / 0.874 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4451, allocations: 83.94 kB / 0.8741 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01947/0.4646, allocations: 8.142 MB / 0.882 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4646, allocations: 0 / 0.882 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.4647, allocations: 8 kB / 0.882 GB, free: 4.039 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004922/0.4652, allocations: 482.5 kB / 0.8825 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4652, allocations: 12.03 kB / 0.8825 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.4653, allocations: 46.55 kB / 0.8826 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.4653, allocations: 27.62 kB / 0.8826 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.4656, allocations: 267.5 kB / 0.8828 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4657, allocations: 15.95 kB / 0.8829 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.4657, allocations: 16 kB / 0.8829 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.466, allocations: 212.7 kB / 0.8831 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.466, allocations: 3.938 kB / 0.8831 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.466, allocations: 4 kB / 0.8831 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.4661, allocations: 4 kB / 0.8831 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.4668, allocations: 0.7295 MB / 0.8838 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.4675, allocations: 0.5668 MB / 0.8844 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4679, allocations: 223.2 kB / 0.8846 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.468, allocations: 96.83 kB / 0.8847 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.4681, allocations: 19.97 kB / 0.8847 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.4683, allocations: 169.6 kB / 0.8848 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.4683, allocations: 0 / 0.8848 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0004331/0.4688, allocations: 282.8 kB / 0.8851 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.4688, allocations: 132.5 kB / 0.8852 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.4691, allocations: 264.7 kB / 0.8855 GB, free: 284 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4691, allocations: 33.7 kB / 0.8855 GB, free: 244 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.4692, allocations: 120.9 kB / 0.8856 GB, free: 120 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.4693, allocations: 110.4 kB / 0.8857 GB, free: 8 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.4693, allocations: 4 kB / 0.8857 GB, free: 4 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4694, allocations: 342.8 kB / 0.8861 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4695, allocations: 83.92 kB / 0.8862 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.4697, allocations: 111.4 kB / 0.8863 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.4698, allocations: 100.7 kB / 0.8864 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4698, allocations: 0 / 0.8864 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003603/0.4702, allocations: 273.1 kB / 0.8866 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4702, allocations: 5.406 kB / 0.8866 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4702, allocations: 3.938 kB / 0.8866 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.4703, allocations: 0 / 0.8866 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.4705, allocations: 63.97 kB / 0.8867 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4705, allocations: 2.344 kB / 0.8867 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.4706, allocations: 39.61 kB / 0.8867 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.4707, allocations: 8 kB / 0.8867 GB, free: 14.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.251e-05/0.4708, allocations: 124.9 kB / 0.8868 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4708, allocations: 23.72 kB / 0.8869 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.4714, allocations: 378.7 kB / 0.8872 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4714, allocations: 4 kB / 0.8872 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4714, allocations: 0 / 0.8872 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4714, allocations: 3.984 kB / 0.8872 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.4717, allocations: 349.1 kB / 0.8876 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4717, allocations: 0 / 0.8876 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.4719, allocations: 55.91 kB / 0.8876 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4719, allocations: 0 / 0.8876 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.4719, allocations: 8 kB / 0.8876 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4719, allocations: 7.984 kB / 0.8876 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4719, allocations: 4 kB / 0.8876 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.4724, allocations: 310.3 kB / 0.8879 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.4725, allocations: 152.7 kB / 0.8881 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.4726, allocations: 8 kB / 0.8881 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.4727, allocations: 15.98 kB / 0.8881 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.4728, allocations: 27.91 kB / 0.8881 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.4728, allocations: 19.98 kB / 0.8882 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001812/0.473, allocations: 221.3 kB / 0.8884 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.473, allocations: 0 / 0.8884 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000266/0.4733, allocations: 60 kB / 0.8884 GB, free: 13.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001283/0.4746, allocations: 1.119 MB / 0.8895 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.4749, allocations: 216.3 kB / 0.8897 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4749, allocations: 4 kB / 0.8897 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.4751, allocations: 123.8 kB / 0.8898 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.4753, allocations: 21.69 kB / 0.8899 GB, free: 11.76 MB / 0.5573 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.4761, allocations: 494.6 kB / 0.8903 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4763, allocations: 0.7616 MB / 0.8911 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.4766, allocations: 156.9 kB / 0.8912 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.4768, allocations: 87.41 kB / 0.8913 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.4768, allocations: 0 / 0.8913 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2035/0.6803, allocations: 5.533 MB / 0.8967 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.6805, allocations: 231.7 kB / 0.8969 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.446, allocations: 0 / 0.8969 GB, free: 4.629 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)