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.001131/0.001131, 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.001081/0.001081, allocations: 195.3 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.15/1.15, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6631/0.6631, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 72.03 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2976, allocations: 80.19 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002485/0.3001, allocations: 1.653 MB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3014, allocations: 1.162 MB / 0.5829 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.3015, allocations: 0.9688 kB / 0.5829 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.3017, allocations: 24.83 kB / 0.583 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.3019, allocations: 74.3 kB / 0.583 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.3023, allocations: 148.7 kB / 0.5832 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3025, allocations: 231.8 kB / 0.5834 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.3026, allocations: 21.75 kB / 0.5834 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.3027, allocations: 86.91 kB / 0.5835 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.3029, allocations: 92.84 kB / 0.5836 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.3029, allocations: 17.16 kB / 0.5836 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.3031, allocations: 80.11 kB / 0.5837 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.3032, allocations: 75.58 kB / 0.5838 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.3033, allocations: 105 kB / 0.5839 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.3036, allocations: 285.3 kB / 0.5841 GB, free: 2.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3036, allocations: 0 / 0.5841 GB, free: 2.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3036, allocations: 3.938 kB / 0.5841 GB, free: 2.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3036, allocations: 0 / 0.5841 GB, free: 2.062 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.0006166/0.3042, allocations: 0.5372 MB / 0.5847 GB, free: 1.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.3043, allocations: 9.172 kB / 0.5847 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3043, allocations: 49 kB / 0.5847 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.3044, allocations: 25.91 kB / 0.5847 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3046, allocations: 270.4 kB / 0.585 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3046, allocations: 10.09 kB / 0.585 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.3046, allocations: 14.31 kB / 0.585 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.305, allocations: 215.7 kB / 0.5852 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.305, allocations: 0 / 0.5852 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.305, allocations: 5.891 kB / 0.5852 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.305, allocations: 3.75 kB / 0.5852 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.3058, allocations: 0.7419 MB / 0.586 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007581/0.3066, allocations: 0.5695 MB / 0.5865 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.3069, allocations: 226 kB / 0.5867 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3071, allocations: 101.1 kB / 0.5868 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.3071, allocations: 17.41 kB / 0.5868 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.3074, allocations: 173.9 kB / 0.587 GB, free: 448 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.3074, allocations: 3.984 kB / 0.587 GB, free: 444 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005742/0.308, allocations: 374.5 kB / 0.5874 GB, free: 296 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.308, allocations: 134 kB / 0.5875 GB, free: 136 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.3083, allocations: 301.3 kB / 0.5878 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3083, allocations: 35.95 kB / 0.5878 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.3084, allocations: 121.8 kB / 0.5879 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.3085, allocations: 114.5 kB / 0.588 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.3086, allocations: 61.77 kB / 0.5881 GB, free: 15.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.3087, allocations: 345 kB / 0.5884 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3088, allocations: 83.91 kB / 0.5885 GB, free: 15.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.309, allocations: 122.8 kB / 0.5886 GB, free: 15.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.3093, allocations: 204.5 kB / 0.5888 GB, free: 15.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3093, allocations: 0 / 0.5888 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004135/0.3098, allocations: 277 kB / 0.5891 GB, free: 15.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3098, allocations: 5.766 kB / 0.5891 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3098, allocations: 0 / 0.5891 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3098, allocations: 1.594 kB / 0.5891 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.31, allocations: 68.03 kB / 0.5892 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.31, allocations: 1.25 kB / 0.5892 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3102, allocations: 27.88 kB / 0.5892 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3102, allocations: 9.438 kB / 0.5892 GB, free: 15.05 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.0001377/0.3103, allocations: 163.1 kB / 0.5894 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.3104, allocations: 28.64 kB / 0.5894 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.311, allocations: 376.6 kB / 0.5897 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.311, allocations: 3.281 kB / 0.5897 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.311, allocations: 1.219 kB / 0.5897 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.311, allocations: 6.094 kB / 0.5897 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.3113, allocations: 324.5 kB / 0.5901 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3113, allocations: 1.5 kB / 0.5901 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3115, allocations: 54.94 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3115, allocations: 5.75 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3115, allocations: 9.422 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3115, allocations: 1.594 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3115, allocations: 8.75 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.312, allocations: 324.8 kB / 0.5904 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3121, allocations: 138.7 kB / 0.5906 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.3121, allocations: 10.56 kB / 0.5906 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3123, allocations: 15.56 kB / 0.5906 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.3124, allocations: 20.67 kB / 0.5906 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.3124, allocations: 23 kB / 0.5906 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.3126, allocations: 236.2 kB / 0.5909 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3126, allocations: 0 / 0.5909 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3129, allocations: 61.3 kB / 0.5909 GB, free: 14.02 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.00134/0.3142, allocations: 1.139 MB / 0.592 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.3147, allocations: 303.2 kB / 0.5923 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3147, allocations: 3.938 kB / 0.5923 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3149, allocations: 127.2 kB / 0.5925 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3151, allocations: 38.33 kB / 0.5925 GB, free: 13.12 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.002449/0.3176, allocations: 2.423 MB / 0.5949 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3179, allocations: 0.7571 MB / 0.5956 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.3182, allocations: 147.9 kB / 0.5957 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3183, allocations: 87.31 kB / 0.5958 GB, free: 10.78 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3183, allocations: 0 / 0.5958 GB, free: 10.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 27.32/27.64, allocations: 5.438 MB / 0.6011 GB, free: 8.371 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/35.3, allocations: 5.219 kB / 0.6011 GB, free: 8.367 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)