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.0009315/0.0009315, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009763/0.0009763, allocations: 194.3 kB / 16.14 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8457/0.8457, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 60.06 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 80.93 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002567/0.1348, allocations: 1.697 MB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1361, allocations: 1.132 MB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.1362, allocations: 0 / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1364, allocations: 27.91 kB / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1365, allocations: 55.75 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1368, allocations: 138 kB / 0.5868 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.1371, allocations: 217.5 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.1372, allocations: 20.22 kB / 0.587 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.1372, allocations: 67.83 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1374, allocations: 93.73 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1374, allocations: 12 kB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1376, allocations: 75.91 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.1377, allocations: 79.8 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.1378, allocations: 95.39 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.138, allocations: 275.4 kB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.138, allocations: 0 / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1381, allocations: 0 / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1381, allocations: 0 / 0.5877 GB, free: 0.9102 MB / 494.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.0006359/0.1387, allocations: 0.5267 MB / 0.5882 GB, free: 344 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1387, allocations: 16.03 kB / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.1388, allocations: 46.73 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.1389, allocations: 28.66 kB / 0.5883 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1391, allocations: 265 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1391, allocations: 8.375 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1392, allocations: 16.38 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.1395, allocations: 216.7 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1395, allocations: 8 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1395, allocations: 7.828 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1395, allocations: 4 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.1403, allocations: 0.7334 MB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007999/0.1411, allocations: 0.5781 MB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1414, allocations: 232.2 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1416, allocations: 96.81 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.1416, allocations: 23.95 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.1419, allocations: 173.5 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.634e-06/0.1419, allocations: 0 / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0005888/0.1425, allocations: 360.2 kB / 0.5909 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.1426, allocations: 140.5 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.1429, allocations: 301 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1429, allocations: 33.7 kB / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.143, allocations: 128.7 kB / 0.5915 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.143, allocations: 106.5 kB / 0.5916 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.1431, allocations: 61.69 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.1432, allocations: 338.8 kB / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1434, allocations: 79.95 kB / 0.5921 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1435, allocations: 131.5 kB / 0.5922 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1438, allocations: 209.3 kB / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1438, allocations: 0 / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000392/0.1442, allocations: 269.2 kB / 0.5926 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1443, allocations: 7.938 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1443, allocations: 0 / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1443, allocations: 0 / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1445, allocations: 63.91 kB / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1445, allocations: 0 / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1446, allocations: 35.7 kB / 0.5927 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.1447, allocations: 19.98 kB / 0.5928 GB, free: 11.43 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 (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.0001234/0.1448, allocations: 153.8 kB / 0.5929 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.1449, allocations: 31.62 kB / 0.5929 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006058/0.1455, allocations: 380.7 kB / 0.5933 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1455, allocations: 8 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1455, allocations: 0 / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1455, allocations: 3.938 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.1458, allocations: 329.2 kB / 0.5936 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1458, allocations: 0 / 0.5936 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.146, allocations: 55.97 kB / 0.5937 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.146, allocations: 7.938 kB / 0.5937 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.146, allocations: 8 kB / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.146, allocations: 0 / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.146, allocations: 0 / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.1464, allocations: 322.2 kB / 0.594 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1465, allocations: 144.7 kB / 0.5941 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1466, allocations: 4 kB / 0.5941 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1467, allocations: 15.98 kB / 0.5942 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1468, allocations: 23.97 kB / 0.5942 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.1468, allocations: 15.92 kB / 0.5942 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001815/0.147, allocations: 236.4 kB / 0.5944 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.147, allocations: 4 kB / 0.5944 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002717/0.1473, allocations: 63.91 kB / 0.5945 GB, free: 9.551 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 (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.001356/0.1487, allocations: 1.149 MB / 0.5956 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.149, allocations: 220.3 kB / 0.5958 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.149, allocations: 0 / 0.5958 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1492, allocations: 123.9 kB / 0.5959 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.1494, allocations: 45.14 kB / 0.596 GB, free: 8.164 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.002558/0.152, allocations: 2.482 MB / 0.5984 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1523, allocations: 0.7661 MB / 0.5992 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.1526, allocations: 142.9 kB / 0.5993 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1527, allocations: 87.39 kB / 0.5994 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1527, allocations: 0 / 0.5994 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 28.42/28.57, allocations: 5.227 MB / 0.6045 GB, free: 52.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/28.57, allocations: 269.1 kB / 0.6047 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/30.23, allocations: 1.188 kB / 0.6047 GB, free: 51.66 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/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)