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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7352/0.7352, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009658/0.0009657, allocations: 179.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.369/1.369, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0008746/0.0008749, allocations: 97.36 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001722, allocations: 276.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.66e-05, allocations: 4 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4489, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.5904, allocations: 112.3 MB / 0.8739 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5907, allocations: 88.5 kB / 0.874 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02134/0.612, allocations: 8.124 MB / 0.8819 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6121, allocations: 0 / 0.8819 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.6121, allocations: 8 kB / 0.8819 GB, free: 4.062 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.0006063/0.6127, allocations: 474.6 kB / 0.8824 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6128, allocations: 15.97 kB / 0.8824 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.6128, allocations: 23.72 kB / 0.8824 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.6132, allocations: 267.4 kB / 0.8827 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.6133, allocations: 23.94 kB / 0.8827 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.6133, allocations: 12 kB / 0.8827 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.6137, allocations: 208.7 kB / 0.8829 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6137, allocations: 4 kB / 0.8829 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.6138, allocations: 4 kB / 0.8829 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.6138, allocations: 4 kB / 0.8829 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.6147, allocations: 0.7256 MB / 0.8836 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.6155, allocations: 0.5744 MB / 0.8842 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.6159, allocations: 215.3 kB / 0.8844 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.616, allocations: 100.8 kB / 0.8845 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.6161, allocations: 15.97 kB / 0.8845 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.6164, allocations: 165.5 kB / 0.8847 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 3.346e-06/0.6164, allocations: 8 kB / 0.8847 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0005023/0.6169, allocations: 274.8 kB / 0.8849 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.617, allocations: 132.5 kB / 0.8851 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.6173, allocations: 264.8 kB / 0.8853 GB, free: 380 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.6174, allocations: 33.7 kB / 0.8854 GB, free: 340 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.6175, allocations: 124.9 kB / 0.8855 GB, free: 212 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/0.6176, allocations: 102.5 kB / 0.8856 GB, free: 108 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.6176, allocations: 8 kB / 0.8856 GB, free: 100 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6177, allocations: 342.8 kB / 0.8859 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6179, allocations: 79.92 kB / 0.886 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.618, allocations: 123.3 kB / 0.8861 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.6182, allocations: 96.78 kB / 0.8862 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6182, allocations: 0 / 0.8862 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004063/0.6186, allocations: 265.1 kB / 0.8864 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6187, allocations: 4 kB / 0.8864 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.6187, allocations: 8 kB / 0.8865 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6187, allocations: 4 kB / 0.8865 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.6189, allocations: 63.84 kB / 0.8865 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.619, allocations: 4 kB / 0.8865 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.6191, allocations: 27.73 kB / 0.8866 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.6192, allocations: 15.98 kB / 0.8866 GB, free: 15.06 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 0.0001171/0.6193, allocations: 124.9 kB / 0.8867 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.6193, allocations: 23.72 kB / 0.8867 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.62, allocations: 379 kB / 0.8871 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.62, allocations: 4 kB / 0.8871 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.62, allocations: 0 / 0.8871 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.62, allocations: 0 / 0.8871 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.6204, allocations: 341.1 kB / 0.8874 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6204, allocations: 4 kB / 0.8874 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.6206, allocations: 59.91 kB / 0.8875 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6206, allocations: 4.031 kB / 0.8875 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.6206, allocations: 15.98 kB / 0.8875 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6206, allocations: 0 / 0.8875 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6206, allocations: 0 / 0.8875 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.6211, allocations: 310.3 kB / 0.8878 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.6213, allocations: 152.7 kB / 0.8879 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.6213, allocations: 7.938 kB / 0.8879 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.6215, allocations: 23.98 kB / 0.888 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.6216, allocations: 27.95 kB / 0.888 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.6216, allocations: 12 kB / 0.888 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002029/0.6218, allocations: 217.3 kB / 0.8882 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6218, allocations: 0 / 0.8882 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002869/0.6221, allocations: 68 kB / 0.8883 GB, free: 13.23 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.0008464/0.623, allocations: 387.4 kB / 0.8886 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.6233, allocations: 215.8 kB / 0.8888 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6233, allocations: 0 / 0.8888 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.6235, allocations: 127.8 kB / 0.889 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.6238, allocations: 30.03 kB / 0.889 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.6245, allocations: 394.7 kB / 0.8894 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6248, allocations: 0.7655 MB / 0.8901 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.6252, allocations: 151.3 kB / 0.8903 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.6253, allocations: 47.3 kB / 0.8903 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.6253, allocations: 0 / 0.8903 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.006484/0.6318, allocations: 3.01 MB / 0.8932 GB, free: 8.266 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)