Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_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.001059/0.001059, allocations: 108 kB / 15.6 MB, free: 128 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.001087/0.001087, allocations: 196 kB / 16.53 MB, free: 6.672 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7267/0.7267, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.22 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3184, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002588/0.3211, allocations: 1.642 MB / 0.5818 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3224, allocations: 1.167 MB / 0.5829 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.3224, allocations: 5.594 kB / 0.5829 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.3226, allocations: 20.05 kB / 0.583 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3229, allocations: 70.08 kB / 0.583 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.3232, allocations: 144.5 kB / 0.5832 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3234, allocations: 245 kB / 0.5834 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.3235, allocations: 19.86 kB / 0.5834 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.3236, allocations: 75.56 kB / 0.5835 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.3238, allocations: 94.02 kB / 0.5836 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.3239, allocations: 17.84 kB / 0.5836 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.324, allocations: 83.38 kB / 0.5837 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.3241, allocations: 80.78 kB / 0.5838 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.3242, allocations: 99.83 kB / 0.5839 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3245, allocations: 280.8 kB / 0.5841 GB, free: 2.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3245, allocations: 4.609 kB / 0.5841 GB, free: 2.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3245, allocations: 1.062 kB / 0.5841 GB, free: 2.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3245, allocations: 0 / 0.5841 GB, free: 2.047 MB / 430.1 MB 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.0006116/0.3252, allocations: 0.5321 MB / 0.5846 GB, free: 1.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3252, allocations: 14.08 kB / 0.5847 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.3252, allocations: 49 kB / 0.5847 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.3253, allocations: 25.28 kB / 0.5847 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3255, allocations: 270.5 kB / 0.585 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3256, allocations: 14.78 kB / 0.585 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.3256, allocations: 21.09 kB / 0.585 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3259, allocations: 211.3 kB / 0.5852 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3259, allocations: 3.984 kB / 0.5852 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.326, allocations: 6.75 kB / 0.5852 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.326, allocations: 7.812 kB / 0.5852 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.3269, allocations: 0.7393 MB / 0.586 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.3277, allocations: 0.5688 MB / 0.5865 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.3281, allocations: 221.2 kB / 0.5867 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.3283, allocations: 102.1 kB / 0.5868 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.3283, allocations: 21.02 kB / 0.5868 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/0.3287, allocations: 177.7 kB / 0.587 GB, free: 416 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.3287, allocations: 0 / 0.587 GB, free: 416 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006981/0.3294, allocations: 362.2 kB / 0.5874 GB, free: 280 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3294, allocations: 133.3 kB / 0.5875 GB, free: 120 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.3298, allocations: 305.9 kB / 0.5878 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3298, allocations: 32.11 kB / 0.5878 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/0.3299, allocations: 122.2 kB / 0.5879 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3301, allocations: 119.3 kB / 0.588 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3302, allocations: 64.06 kB / 0.5881 GB, free: 15.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3304, allocations: 341.4 kB / 0.5884 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.3305, allocations: 79.14 kB / 0.5885 GB, free: 15.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3308, allocations: 124 kB / 0.5886 GB, free: 15.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.3312, allocations: 207.8 kB / 0.5888 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3312, allocations: 0 / 0.5888 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005692/0.3318, allocations: 273.8 kB / 0.5891 GB, free: 15.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3318, allocations: 5.094 kB / 0.5891 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3318, allocations: 0.5625 kB / 0.5891 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3319, allocations: 2.25 kB / 0.5891 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.3321, allocations: 62.11 kB / 0.5891 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3321, allocations: 1.375 kB / 0.5891 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3323, allocations: 27.59 kB / 0.5892 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3323, allocations: 13.7 kB / 0.5892 GB, free: 15.04 MB / 446.1 MB 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.0001798/0.3325, allocations: 164.9 kB / 0.5893 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.3326, allocations: 28.38 kB / 0.5894 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000776/0.3334, allocations: 376.2 kB / 0.5897 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3334, allocations: 3.906 kB / 0.5897 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3334, allocations: 0.5625 kB / 0.5897 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.3334, allocations: 5.297 kB / 0.5897 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.3338, allocations: 324.9 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3338, allocations: 4.656 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.334, allocations: 68.36 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.334, allocations: 5.219 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.334, allocations: 10.2 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.334, allocations: 0.5 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.334, allocations: 1.094 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.3345, allocations: 315.9 kB / 0.5904 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3347, allocations: 144.4 kB / 0.5906 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3347, allocations: 5.891 kB / 0.5906 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3349, allocations: 19.61 kB / 0.5906 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.335, allocations: 24.41 kB / 0.5906 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.335, allocations: 15.41 kB / 0.5906 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.3352, allocations: 235.2 kB / 0.5909 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3352, allocations: 3.938 kB / 0.5909 GB, free: 14.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.3355, allocations: 66.75 kB / 0.5909 GB, free: 14 MB / 446.1 MB 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.001557/0.3371, allocations: 1.14 MB / 0.592 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.3376, allocations: 303.2 kB / 0.5923 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3376, allocations: 0 / 0.5923 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3378, allocations: 123.7 kB / 0.5924 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3381, allocations: 38.58 kB / 0.5925 GB, free: 13.11 MB / 446.1 MB 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.002579/0.3407, allocations: 2.43 MB / 0.5949 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3409, allocations: 0.7576 MB / 0.5956 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003151/0.3413, allocations: 147.5 kB / 0.5957 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3414, allocations: 87.47 kB / 0.5958 GB, free: 10.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3414, allocations: 4 kB / 0.5958 GB, free: 10.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8049/1.146, allocations: 5.43 MB / 0.6011 GB, free: 8.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/7.924, allocations: 7.719 kB / 0.6011 GB, free: 8.336 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)