Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001765/0.001765, allocations: 190 kB / 16.25 MB, free: 6.621 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.425/2.425, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 61.7 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2307, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002815/0.2335, allocations: 1.735 MB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2351, allocations: 1.143 MB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2352, allocations: 4 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.2354, allocations: 19.91 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.2356, allocations: 67.77 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.236, allocations: 130.8 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.2363, allocations: 241.5 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.2364, allocations: 19.98 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2365, allocations: 83.81 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.2367, allocations: 101.4 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.2368, allocations: 20 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.2369, allocations: 75.97 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.237, allocations: 83.8 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2371, allocations: 107.3 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.2374, allocations: 287.4 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2374, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2375, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2375, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB 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.000728/0.2382, allocations: 0.5461 MB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2382, allocations: 8.625 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.2383, allocations: 54.73 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.2384, allocations: 24.66 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2386, allocations: 272.8 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2386, allocations: 8.375 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.2387, allocations: 16.38 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.239, allocations: 220.7 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.239, allocations: 3.984 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2391, allocations: 8 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2391, allocations: 8 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.2399, allocations: 0.7372 MB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.2407, allocations: 0.5781 MB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.241, allocations: 223.9 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2412, allocations: 104.8 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.2412, allocations: 23.95 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.2415, allocations: 169.5 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.2415, allocations: 0 / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0006213/0.2421, allocations: 370.7 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.2422, allocations: 132.5 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.2425, allocations: 312.9 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.2425, allocations: 33.64 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.2426, allocations: 128.7 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.2427, allocations: 106.4 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.2428, allocations: 65.69 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2429, allocations: 334.8 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2431, allocations: 83.95 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2432, allocations: 119.4 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.2436, allocations: 214.3 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2436, allocations: 3.938 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003984/0.244, allocations: 265.2 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.244, allocations: 8 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.244, allocations: 0 / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.244, allocations: 4 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2442, allocations: 63.91 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2442, allocations: 3.938 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.2444, allocations: 25.94 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.2444, allocations: 12 kB / 1.062 GB, free: 15.02 MB / 0.8262 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.0001421/0.2446, allocations: 163.3 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.2446, allocations: 27.62 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/0.2452, allocations: 377 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2452, allocations: 7.984 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2453, allocations: 3.938 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.2453, allocations: 0 / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.2456, allocations: 329.3 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2456, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2457, allocations: 63.91 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2457, allocations: 4 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2458, allocations: 8 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2458, allocations: 4 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2458, allocations: 3.938 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.2462, allocations: 313.7 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.2463, allocations: 144.7 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.2464, allocations: 4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2465, allocations: 15.98 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.2466, allocations: 27.91 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.2466, allocations: 15.98 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001858/0.2468, allocations: 232.5 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2468, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002832/0.2471, allocations: 75.83 kB / 1.063 GB, free: 13.13 MB / 0.8262 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.001433/0.2486, allocations: 1.151 MB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.249, allocations: 295.7 kB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2491, allocations: 4 kB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.2492, allocations: 127.8 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.2495, allocations: 28.61 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.2522, allocations: 2.502 MB / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2525, allocations: 0.7612 MB / 1.068 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.2528, allocations: 154.8 kB / 1.068 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2529, allocations: 87.41 kB / 1.068 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of SimCode: time 1.412e-06/0.2529, allocations: 0 / 1.068 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.508/2.761, allocations: 5.39 MB / 1.073 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/2.762, allocations: 279.8 kB / 1.074 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/4.888, allocations: 0 / 1.074 GB, free: 2.457 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)