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.0009778/0.0009778, 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.0008906/0.0008906, allocations: 192.9 kB / 16.25 MB, free: 6.617 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.161/1.161, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6769/0.6769, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.98 kB / 0.5014 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2854, allocations: 80.2 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002501/0.2879, allocations: 1.698 MB / 0.5813 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2892, allocations: 1.146 MB / 0.5825 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.2893, allocations: 1.219 kB / 0.5825 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.2895, allocations: 21.38 kB / 0.5825 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.2897, allocations: 62.88 kB / 0.5825 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.29, allocations: 131.5 kB / 0.5827 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.2903, allocations: 241.1 kB / 0.5829 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.2904, allocations: 16.34 kB / 0.5829 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.2905, allocations: 82.94 kB / 0.583 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.2907, allocations: 90.67 kB / 0.5831 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2907, allocations: 16.56 kB / 0.5831 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2909, allocations: 80.48 kB / 0.5832 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.2909, allocations: 84.56 kB / 0.5833 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.291, allocations: 104.6 kB / 0.5834 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.2914, allocations: 280.2 kB / 0.5836 GB, free: 2.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2914, allocations: 5.375 kB / 0.5836 GB, free: 2.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2914, allocations: 0 / 0.5836 GB, free: 2.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2914, allocations: 0 / 0.5836 GB, free: 2.027 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.0006224/0.292, allocations: 0.5321 MB / 0.5841 GB, free: 1.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.292, allocations: 10.58 kB / 0.5842 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.2921, allocations: 52.45 kB / 0.5842 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.2922, allocations: 30.56 kB / 0.5842 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2924, allocations: 269 kB / 0.5845 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2924, allocations: 10.47 kB / 0.5845 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.2924, allocations: 14.72 kB / 0.5845 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.2927, allocations: 215.3 kB / 0.5847 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2928, allocations: 0 / 0.5847 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.2928, allocations: 10.44 kB / 0.5847 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2928, allocations: 11 kB / 0.5847 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008291/0.2936, allocations: 0.7387 MB / 0.5855 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.2944, allocations: 0.5656 MB / 0.586 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.2947, allocations: 226.6 kB / 0.5862 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.2949, allocations: 105.1 kB / 0.5863 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.2949, allocations: 17.72 kB / 0.5863 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.2952, allocations: 170.5 kB / 0.5865 GB, free: 404 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.2952, allocations: 0 / 0.5865 GB, free: 404 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005758/0.2958, allocations: 369.2 kB / 0.5869 GB, free: 260 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2958, allocations: 133 kB / 0.587 GB, free: 100 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.2961, allocations: 310.2 kB / 0.5873 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2962, allocations: 32.23 kB / 0.5873 GB, free: 15.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.2962, allocations: 122.8 kB / 0.5874 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.2963, allocations: 113.5 kB / 0.5875 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.2964, allocations: 60.78 kB / 0.5876 GB, free: 15.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.2965, allocations: 343.2 kB / 0.5879 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2966, allocations: 78.39 kB / 0.588 GB, free: 15.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2968, allocations: 128.4 kB / 0.5881 GB, free: 15.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.2971, allocations: 202.5 kB / 0.5883 GB, free: 15.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2971, allocations: 1.109 kB / 0.5883 GB, free: 15.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004137/0.2975, allocations: 277.2 kB / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2976, allocations: 5.188 kB / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2976, allocations: 0.7031 kB / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2976, allocations: 1.594 kB / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.2978, allocations: 61.66 kB / 0.5886 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2978, allocations: 2.719 kB / 0.5887 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.298, allocations: 30.75 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.298, allocations: 11.44 kB / 0.5887 GB, free: 15.02 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.000138/0.2981, allocations: 162.9 kB / 0.5888 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.2982, allocations: 28.58 kB / 0.5889 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.2988, allocations: 372 kB / 0.5892 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2988, allocations: 4.25 kB / 0.5892 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2988, allocations: 5.469 kB / 0.5892 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2988, allocations: 5.344 kB / 0.5892 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.2991, allocations: 328.8 kB / 0.5896 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2991, allocations: 0.5 kB / 0.5896 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.2993, allocations: 54.94 kB / 0.5896 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2993, allocations: 5.562 kB / 0.5896 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2993, allocations: 10.72 kB / 0.5896 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.2993, allocations: 0.9375 kB / 0.5896 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2993, allocations: 1.734 kB / 0.5896 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.2998, allocations: 331.5 kB / 0.5899 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2999, allocations: 143.3 kB / 0.5901 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3, allocations: 6.188 kB / 0.5901 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3001, allocations: 15.28 kB / 0.5901 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.3002, allocations: 20.77 kB / 0.5901 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.3002, allocations: 20.56 kB / 0.5901 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3004, allocations: 235.5 kB / 0.5904 GB, free: 14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3004, allocations: 0 / 0.5904 GB, free: 14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.3007, allocations: 69.41 kB / 0.5904 GB, free: 13.98 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.001343/0.302, allocations: 1.131 MB / 0.5915 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.3025, allocations: 299 kB / 0.5918 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3025, allocations: 3.938 kB / 0.5918 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.3027, allocations: 127.9 kB / 0.5919 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3029, allocations: 54.25 kB / 0.592 GB, free: 13.08 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.002492/0.3054, allocations: 2.485 MB / 0.5944 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3057, allocations: 0.7575 MB / 0.5952 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.306, allocations: 147.8 kB / 0.5953 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3061, allocations: 87.44 kB / 0.5954 GB, free: 10.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3061, allocations: 0 / 0.5954 GB, free: 10.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 38.07/38.37, allocations: 5.351 MB / 0.6006 GB, free: 8.422 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/38.37, allocations: 272 kB / 0.6009 GB, free: 8.062 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/40.04, allocations: 0 / 0.6009 GB, free: 8.062 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)