Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_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.0009819/0.000982, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001005/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006128/0.000613, allocations: 8 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1937, allocations: 82.32 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001758/0.1955, allocations: 1.32 MB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1969, allocations: 1.07 MB / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.197, allocations: 0 / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1972, allocations: 27.84 kB / 0.5897 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1974, allocations: 51.81 kB / 0.5897 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1977, allocations: 130.4 kB / 0.5898 GB, free: 436 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.198, allocations: 149.8 kB / 0.59 GB, free: 288 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.198, allocations: 16.22 kB / 0.59 GB, free: 268 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.1981, allocations: 71.81 kB / 0.5901 GB, free: 196 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1983, allocations: 63.81 kB / 0.5901 GB, free: 132 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1984, allocations: 8 kB / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1985, allocations: 51.92 kB / 0.5902 GB, free: 72 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.1986, allocations: 75.88 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.1986, allocations: 53.48 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1989, allocations: 203.9 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1989, allocations: 0 / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1989, allocations: 0 / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.1989, allocations: 0 / 0.5905 GB, free: 15.74 MB / 0.4981 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.000679/0.1996, allocations: 0.4914 MB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1996, allocations: 8.031 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.1997, allocations: 50.55 kB / 0.591 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.1997, allocations: 27.62 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.2, allocations: 255.8 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2001, allocations: 15.98 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.2001, allocations: 12 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.2004, allocations: 204.8 kB / 0.5915 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2004, allocations: 3.938 kB / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.2005, allocations: 8 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2005, allocations: 4 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.2013, allocations: 0.7373 MB / 0.5923 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.2022, allocations: 0.5743 MB / 0.5928 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.2026, allocations: 232.1 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.2026, allocations: 27.97 kB / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.2029, allocations: 165.5 kB / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.2029, allocations: 0 / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.000585/0.2035, allocations: 360.2 kB / 0.5936 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.2036, allocations: 140.4 kB / 0.5937 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.2039, allocations: 308.9 kB / 0.594 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.2039, allocations: 33.7 kB / 0.594 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.204, allocations: 116.8 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.2041, allocations: 114.4 kB / 0.5942 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.2041, allocations: 8 kB / 0.5943 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2042, allocations: 334.8 kB / 0.5946 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2043, allocations: 75.97 kB / 0.5946 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2045, allocations: 123.6 kB / 0.5948 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2047, allocations: 99.91 kB / 0.5949 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2047, allocations: 11.94 kB / 0.5949 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003977/0.2051, allocations: 265.8 kB / 0.5951 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2051, allocations: 4 kB / 0.5951 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2051, allocations: 3.984 kB / 0.5951 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2051, allocations: 4 kB / 0.5951 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.2054, allocations: 55.97 kB / 0.5952 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2054, allocations: 7.891 kB / 0.5952 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.2055, allocations: 35.67 kB / 0.5952 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2056, allocations: 12 kB / 0.5952 GB, free: 10.59 MB / 0.4981 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.0001452/0.2057, allocations: 161.8 kB / 0.5954 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2058, allocations: 23.72 kB / 0.5954 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006183/0.2064, allocations: 380.9 kB / 0.5958 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2064, allocations: 4 kB / 0.5958 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2064, allocations: 0 / 0.5958 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2064, allocations: 7.938 kB / 0.5958 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.2067, allocations: 325.3 kB / 0.5961 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2067, allocations: 0 / 0.5961 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.2069, allocations: 59.91 kB / 0.5962 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.2069, allocations: 4 kB / 0.5962 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.2069, allocations: 11.98 kB / 0.5962 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2069, allocations: 0 / 0.5962 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.207, allocations: 3.984 kB / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.2074, allocations: 321.6 kB / 0.5965 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2075, allocations: 148.7 kB / 0.5966 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.2076, allocations: 8 kB / 0.5966 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2077, allocations: 19.23 kB / 0.5967 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.2078, allocations: 27.91 kB / 0.5967 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.2078, allocations: 15.98 kB / 0.5967 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001868/0.208, allocations: 228.5 kB / 0.5969 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.208, allocations: 0 / 0.5969 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002873/0.2083, allocations: 63.98 kB / 0.597 GB, free: 8.711 MB / 0.4981 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.001497/0.2098, allocations: 1.15 MB / 0.5981 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.2102, allocations: 215.8 kB / 0.5983 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2102, allocations: 0 / 0.5983 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.2104, allocations: 127.8 kB / 0.5984 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2106, allocations: 30.31 kB / 0.5985 GB, free: 7.34 MB / 0.4981 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.002002/0.2126, allocations: 1.453 MB / 0.5999 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2129, allocations: 0.7623 MB / 0.6006 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.2132, allocations: 142.9 kB / 0.6008 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2134, allocations: 90.39 kB / 0.6008 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.2134, allocations: 0 / 0.6008 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.121/1.335, allocations: 5.369 MB / 0.6061 GB, free: 48.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.335, allocations: 242.1 kB / 0.6063 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/3.192, allocations: 4.531 kB / 0.6063 GB, free: 48.29 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) Environment - environmentSimulation: