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.8216/0.8216, allocations: 143.3 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 183.3 kB / 191.5 MB, free: 5.77 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.382/1.382, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0008762/0.0008761, allocations: 84.33 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 270.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 15.25 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6284, allocations: 112.3 MB / 0.8835 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.6287, allocations: 87.84 kB / 0.8836 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0214/0.6501, allocations: 8.33 MB / 0.8917 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6502, allocations: 0 / 0.8917 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.6502, allocations: 5.188 kB / 0.8917 GB, free: 31.86 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.0006232/0.6508, allocations: 0.5119 MB / 0.8922 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6509, allocations: 10.92 kB / 0.8922 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.6509, allocations: 47.7 kB / 0.8923 GB, free: 31.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.651, allocations: 24.47 kB / 0.8923 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.6513, allocations: 269.6 kB / 0.8926 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6514, allocations: 17.11 kB / 0.8926 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.6514, allocations: 16.34 kB / 0.8926 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.6517, allocations: 204 kB / 0.8928 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6517, allocations: 0 / 0.8928 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.6518, allocations: 3.938 kB / 0.8928 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.6518, allocations: 5.094 kB / 0.8928 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007622/0.6526, allocations: 0.7361 MB / 0.8935 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.6535, allocations: 0.5678 MB / 0.8941 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.6539, allocations: 227 kB / 0.8943 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.6539, allocations: 20.16 kB / 0.8943 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.6542, allocations: 185.4 kB / 0.8945 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.6542, allocations: 0 / 0.8945 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0007074/0.655, allocations: 357.5 kB / 0.8948 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.655, allocations: 135.1 kB / 0.8949 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.6554, allocations: 264.3 kB / 0.8952 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.6554, allocations: 31.39 kB / 0.8952 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.6555, allocations: 123.5 kB / 0.8953 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.6556, allocations: 111.2 kB / 0.8954 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.6556, allocations: 10.25 kB / 0.8955 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.6557, allocations: 345.2 kB / 0.8958 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.6558, allocations: 75.22 kB / 0.8959 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.656, allocations: 121.8 kB / 0.896 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.6562, allocations: 115 kB / 0.8961 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6562, allocations: 0 / 0.8961 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003972/0.6566, allocations: 264.8 kB / 0.8963 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6567, allocations: 9.531 kB / 0.8963 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6567, allocations: 0 / 0.8963 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6567, allocations: 1.25 kB / 0.8963 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.6569, allocations: 63.62 kB / 0.8964 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.6569, allocations: 1.375 kB / 0.8964 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.6571, allocations: 28.2 kB / 0.8964 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.6572, allocations: 13.73 kB / 0.8964 GB, free: 29.76 MB / 0.5417 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 () * Number of clocked 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 0.000148/0.6573, allocations: 161.7 kB / 0.8966 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.6574, allocations: 35.28 kB / 0.8966 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.6581, allocations: 378.1 kB / 0.897 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6581, allocations: 3.031 kB / 0.897 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6581, allocations: 0.6875 kB / 0.897 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6581, allocations: 5.641 kB / 0.897 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.6584, allocations: 339.6 kB / 0.8973 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6584, allocations: 0 / 0.8973 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.6586, allocations: 64.31 kB / 0.8974 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6586, allocations: 5.094 kB / 0.8974 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.6586, allocations: 10.59 kB / 0.8974 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6586, allocations: 1 kB / 0.8974 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6586, allocations: 0 / 0.8974 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.6591, allocations: 322.1 kB / 0.8977 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.6592, allocations: 159.9 kB / 0.8979 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.6593, allocations: 6.062 kB / 0.8979 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6594, allocations: 22.53 kB / 0.8979 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.6595, allocations: 21.38 kB / 0.8979 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.6595, allocations: 13.84 kB / 0.8979 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001935/0.6597, allocations: 220.6 kB / 0.8981 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.52e-07/0.6597, allocations: 0 / 0.8981 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003241/0.6601, allocations: 74.38 kB / 0.8982 GB, free: 29.03 MB / 0.5417 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) * Number of clocked states: 0 () * 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.001413/0.6615, allocations: 1.156 MB / 0.8993 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.6619, allocations: 219.5 kB / 0.8995 GB, free: 28.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6619, allocations: 0.625 kB / 0.8995 GB, free: 28.31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.6621, allocations: 124.2 kB / 0.8997 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.6623, allocations: 33.2 kB / 0.8997 GB, free: 28.29 MB / 0.5417 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.001985/0.6643, allocations: 1.463 MB / 0.9011 GB, free: 27.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.6645, allocations: 0.7599 MB / 0.9019 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.6649, allocations: 151.5 kB / 0.902 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.6651, allocations: 89.34 kB / 0.9021 GB, free: 27.01 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.6651, allocations: 0 / 0.9021 GB, free: 27.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3259/0.9909, allocations: 5.552 MB / 0.9075 GB, free: 26.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.9911, allocations: 264.9 kB / 0.9078 GB, free: 26.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.882, allocations: 0 / 0.9078 GB, free: 26.19 MB / 0.5417 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)