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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 195.5 kB / 16.14 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 274.3 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 97.5 kB / 0.6057 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2967, allocations: 89.16 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004409/0.3012, allocations: 1.706 MB / 0.6945 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3036, allocations: 1.144 MB / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.3037, allocations: 0 / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.3041, allocations: 31.84 kB / 0.6956 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.3044, allocations: 59.81 kB / 0.6957 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.3049, allocations: 127 kB / 0.6958 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.3052, allocations: 229.5 kB / 0.696 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3054, allocations: 20.25 kB / 0.696 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3056, allocations: 75.77 kB / 0.6961 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.3059, allocations: 91.7 kB / 0.6962 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.3059, allocations: 8 kB / 0.6962 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.3061, allocations: 71.91 kB / 0.6963 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.3062, allocations: 75.75 kB / 0.6963 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3064, allocations: 103.4 kB / 0.6964 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.3069, allocations: 275.1 kB / 0.6967 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3069, allocations: 0 / 0.6967 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.3069, allocations: 3.984 kB / 0.6967 GB, free: 0.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3069, allocations: 0 / 0.6967 GB, free: 0.832 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001414/0.3083, allocations: 0.5267 MB / 0.6972 GB, free: 264 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.3084, allocations: 12.03 kB / 0.6972 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3085, allocations: 24.66 kB / 0.6973 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.3089, allocations: 280.6 kB / 0.6975 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.309, allocations: 12.38 kB / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.309, allocations: 12.38 kB / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.3095, allocations: 228.5 kB / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3095, allocations: 0 / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.3096, allocations: 4 kB / 0.6978 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3096, allocations: 4 kB / 0.6978 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3107, allocations: 0.7451 MB / 0.6985 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.3118, allocations: 0.5819 MB / 0.6991 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.3122, allocations: 219.5 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3124, allocations: 104.8 kB / 0.6994 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.3125, allocations: 19.95 kB / 0.6994 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000543/0.313, allocations: 177.5 kB / 0.6996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.313, allocations: 3.938 kB / 0.6996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0008724/0.3139, allocations: 362.8 kB / 0.6999 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.3141, allocations: 132.5 kB / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.3145, allocations: 304.9 kB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.3146, allocations: 37.7 kB / 0.7004 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3147, allocations: 132.6 kB / 0.7005 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.3148, allocations: 106.5 kB / 0.7006 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.315, allocations: 61.69 kB / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.3153, allocations: 334.8 kB / 0.701 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3154, allocations: 75.95 kB / 0.701 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.3157, allocations: 128.4 kB / 0.7012 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.3161, allocations: 212.7 kB / 0.7014 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3161, allocations: 0 / 0.7014 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005371/0.3167, allocations: 273.8 kB / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.3167, allocations: 4 kB / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3167, allocations: 0 / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.3168, allocations: 4 kB / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.3171, allocations: 59.84 kB / 0.7017 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.3171, allocations: 4 kB / 0.7017 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.3173, allocations: 31.67 kB / 0.7017 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.3174, allocations: 16 kB / 0.7017 GB, free: 11.39 MB / 0.4981 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.3177, allocations: 165.7 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.3177, allocations: 27.66 kB / 0.7019 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008401/0.3186, allocations: 372.8 kB / 0.7023 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3186, allocations: 7.938 kB / 0.7023 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.3186, allocations: 4 kB / 0.7023 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.3186, allocations: 3.938 kB / 0.7023 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.3191, allocations: 333.3 kB / 0.7026 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3191, allocations: 0 / 0.7026 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3193, allocations: 51.97 kB / 0.7027 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3193, allocations: 0 / 0.7027 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.3194, allocations: 8.047 kB / 0.7027 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.3194, allocations: 7.938 kB / 0.7027 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.3194, allocations: 7.969 kB / 0.7027 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.32, allocations: 322.2 kB / 0.703 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.3202, allocations: 140.7 kB / 0.7031 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.3203, allocations: 12 kB / 0.7031 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3205, allocations: 11.98 kB / 0.7032 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.3206, allocations: 23.91 kB / 0.7032 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.3206, allocations: 19.98 kB / 0.7032 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003095/0.3209, allocations: 236.4 kB / 0.7034 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.321, allocations: 0 / 0.7034 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003567/0.3213, allocations: 59.94 kB / 0.7035 GB, free: 9.508 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/0.323, allocations: 418.6 kB / 0.7039 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.3235, allocations: 220 kB / 0.7041 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3235, allocations: 0 / 0.7041 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.3238, allocations: 127.8 kB / 0.7042 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3241, allocations: 32.66 kB / 0.7042 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3253, allocations: 0.5757 MB / 0.7048 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/0.326, allocations: 0.7574 MB / 0.7055 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003754/0.3263, allocations: 138.9 kB / 0.7057 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3265, allocations: 43.41 kB / 0.7057 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.3265, allocations: 4 kB / 0.7057 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of Templates: time 0.008339/0.3348, allocations: 2.948 MB / 0.7086 GB, free: 4.402 MB / 0.4981 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)