Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_11_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.001709/0.001709, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.498/2.498, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 65.44 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2356, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002831/0.2384, allocations: 1.672 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.24, allocations: 1.171 MB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.2401, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.2403, allocations: 15.86 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.2405, allocations: 79.61 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.2409, allocations: 150 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.2412, allocations: 245.5 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.2413, allocations: 16 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.2414, allocations: 91.81 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.2416, allocations: 91.7 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.2416, allocations: 16 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2418, allocations: 79.97 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.2419, allocations: 87.73 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.242, allocations: 111.3 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.2423, allocations: 283.4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2423, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2424, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2424, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 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.0007444/0.2431, allocations: 0.5443 MB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2432, allocations: 12.03 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.2432, allocations: 46.73 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.2433, allocations: 28.66 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.2436, allocations: 268.8 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2436, allocations: 8.375 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2436, allocations: 16.38 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.244, allocations: 224.6 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.244, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.244, allocations: 15.92 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.244, allocations: 4 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.2449, allocations: 0.7373 MB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008675/0.2457, allocations: 0.5858 MB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.2461, allocations: 220.8 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.2463, allocations: 104.8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.2463, allocations: 15.97 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.2467, allocations: 181.4 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.2467, allocations: 4 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0006531/0.2473, allocations: 358.8 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/0.2474, allocations: 132.5 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.2478, allocations: 308.9 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2478, allocations: 33.7 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.2479, allocations: 128.7 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.248, allocations: 110.4 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/0.2481, allocations: 61.69 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2482, allocations: 342.8 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2484, allocations: 87.89 kB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.2486, allocations: 124.4 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.2489, allocations: 204.7 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2489, allocations: 3.938 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004149/0.2493, allocations: 273.8 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2493, allocations: 4 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2493, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2494, allocations: 4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.2496, allocations: 59.91 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2496, allocations: 3.938 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.2497, allocations: 31.73 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.2497, allocations: 11.98 kB / 1.073 GB, free: 4.617 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.0001465/0.2499, allocations: 161.8 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.2499, allocations: 23.72 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.2506, allocations: 384.7 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2506, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2506, allocations: 7.938 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2506, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.2509, allocations: 325.3 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2509, allocations: 0 / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.2511, allocations: 55.91 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2511, allocations: 4 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.2511, allocations: 8 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2511, allocations: 7.938 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2511, allocations: 3.938 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.2516, allocations: 322.3 kB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.2517, allocations: 144.7 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.2518, allocations: 4 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2519, allocations: 15.98 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.252, allocations: 23.91 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.252, allocations: 19.98 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002016/0.2522, allocations: 236.4 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2522, allocations: 0 / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002663/0.2525, allocations: 63.94 kB / 1.075 GB, free: 2.742 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.001892/0.2544, allocations: 1.152 MB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.2549, allocations: 299.7 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2549, allocations: 0 / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.2551, allocations: 128.7 kB / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.2553, allocations: 37.84 kB / 1.076 GB, free: 1.258 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.002689/0.258, allocations: 2.419 MB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2584, allocations: 0.7617 MB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002958/0.2587, allocations: 150.8 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2588, allocations: 87.39 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.2588, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 99.86/100.1, allocations: 5.461 MB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.495/109.6, allocations: 16.53 kB / 1.085 GB, free: 8.406 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)