Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.721/2.721, allocations: 287.5 MB / 302.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 180.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009433/0.0009431, allocations: 100.9 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004913, allocations: 15.88 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002142/0.2288, allocations: 1.324 MB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2305, allocations: 1.012 MB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.2306, allocations: 0 / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.2309, allocations: 27.91 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.2312, allocations: 55.75 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.2317, allocations: 111 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.232, allocations: 205.6 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.2321, allocations: 16.5 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.2322, allocations: 67.83 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2324, allocations: 83.72 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.2325, allocations: 8 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2327, allocations: 59.95 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.2328, allocations: 67.81 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.2328, allocations: 57.58 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.2331, allocations: 195.5 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2331, allocations: 0 / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2332, allocations: 0 / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2332, allocations: 0 / 0.9817 GB, free: 24.94 MB / 0.6198 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.0008184/0.234, allocations: 494 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2341, allocations: 12.03 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/0.2341, allocations: 54.55 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.2342, allocations: 27.67 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2345, allocations: 255.7 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2346, allocations: 8 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.2346, allocations: 16 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.2351, allocations: 220.6 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2351, allocations: 0 / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.2352, allocations: 8 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-06/0.2352, allocations: 7.938 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.2364, allocations: 0.7295 MB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2376, allocations: 0.5859 MB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.2382, allocations: 219.5 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.2384, allocations: 96.81 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/0.2385, allocations: 19.97 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.2389, allocations: 185.4 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.917e-06/0.239, allocations: 7.922 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0009451/0.2399, allocations: 358.8 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.24, allocations: 136.5 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.2404, allocations: 301 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.2404, allocations: 29.7 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.2405, allocations: 128.7 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.787e-05/0.2406, allocations: 106.5 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.2407, allocations: 4 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.2407, allocations: 338.8 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.241, allocations: 79.95 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.2412, allocations: 124.4 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.2415, allocations: 108.4 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.2415, allocations: 0 / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006082/0.2421, allocations: 269.2 kB / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2422, allocations: 4 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2422, allocations: 3.953 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2422, allocations: 4 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.2426, allocations: 59.91 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2427, allocations: 8 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.2429, allocations: 27.77 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.243, allocations: 12 kB / 0.9865 GB, free: 19.69 MB / 0.6198 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.0001931/0.2432, allocations: 161.7 kB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.2432, allocations: 27.62 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/0.2442, allocations: 373 kB / 0.987 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2443, allocations: 11.89 kB / 0.9871 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2443, allocations: 3.984 kB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.2443, allocations: 0 / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.2447, allocations: 321.3 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2447, allocations: 0 / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.245, allocations: 59.91 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.245, allocations: 4 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2451, allocations: 11.98 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2451, allocations: 3.938 kB / 0.9874 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2451, allocations: 7.953 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.2457, allocations: 317.9 kB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.2459, allocations: 144.7 kB / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.246, allocations: 8 kB / 0.9879 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.2463, allocations: 19.98 kB / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.2464, allocations: 31.91 kB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.2464, allocations: 20 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002527/0.2467, allocations: 232.4 kB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2467, allocations: 0 / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003935/0.2471, allocations: 59.94 kB / 0.9882 GB, free: 17.81 MB / 0.6198 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.001895/0.249, allocations: 1.139 MB / 0.9894 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005799/0.2496, allocations: 227.9 kB / 0.9896 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2496, allocations: 4 kB / 0.9896 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.2499, allocations: 119.9 kB / 0.9897 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.2503, allocations: 36.59 kB / 0.9897 GB, free: 16.42 MB / 0.6198 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.002894/0.2532, allocations: 1.455 MB / 0.9911 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.2535, allocations: 0.7579 MB / 0.9919 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005439/0.2541, allocations: 146.8 kB / 0.992 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.2543, allocations: 91.39 kB / 0.9921 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of SimCode: time 8.566e-06/0.2543, allocations: 3.938 kB / 0.9921 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4984/0.7527, allocations: 5.392 MB / 0.9974 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.753, allocations: 266.1 kB / 0.9976 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/3.686, allocations: 0 / 0.9976 GB, free: 8.348 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)