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.001188/0.001188, 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.001199/0.001199, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7323/0.7323, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 60 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1341, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002638/0.1368, allocations: 1.694 MB / 0.5812 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1382, allocations: 1.144 MB / 0.5823 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.1383, allocations: 0 / 0.5823 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.1385, allocations: 23.86 kB / 0.5823 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1387, allocations: 59.81 kB / 0.5824 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.139, allocations: 128.9 kB / 0.5825 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1392, allocations: 217.5 kB / 0.5827 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.1393, allocations: 20.2 kB / 0.5827 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.1394, allocations: 75.83 kB / 0.5828 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1396, allocations: 87.7 kB / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1396, allocations: 8 kB / 0.5829 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1398, allocations: 75.97 kB / 0.583 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.1399, allocations: 71.81 kB / 0.583 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.14, allocations: 95.39 kB / 0.5831 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.1403, allocations: 283.3 kB / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1403, allocations: 0 / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1403, allocations: 0 / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1403, allocations: 0 / 0.5834 GB, free: 5.168 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.0006892/0.141, allocations: 0.5357 MB / 0.5839 GB, free: 4.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.141, allocations: 8.031 kB / 0.5839 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.1411, allocations: 50.73 kB / 0.584 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.1411, allocations: 24.66 kB / 0.584 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1414, allocations: 269.9 kB / 0.5842 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1414, allocations: 12.38 kB / 0.5843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1415, allocations: 12.38 kB / 0.5843 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.1418, allocations: 220.7 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.1418, allocations: 0 / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.1418, allocations: 8 kB / 0.5845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1419, allocations: 3.938 kB / 0.5845 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.1427, allocations: 0.7373 MB / 0.5852 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.1435, allocations: 0.5859 MB / 0.5858 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.1439, allocations: 224.2 kB / 0.586 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.144, allocations: 100.8 kB / 0.5861 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.1441, allocations: 19.97 kB / 0.5861 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.1444, allocations: 169.5 kB / 0.5863 GB, free: 2.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.1444, allocations: 0 / 0.5863 GB, free: 2.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006255/0.1451, allocations: 376.7 kB / 0.5866 GB, free: 1.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.1451, allocations: 132.5 kB / 0.5868 GB, free: 1.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1454, allocations: 309 kB / 0.587 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1454, allocations: 29.7 kB / 0.5871 GB, free: 1.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.1455, allocations: 124.7 kB / 0.5872 GB, free: 1.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.1456, allocations: 102.5 kB / 0.5873 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.1457, allocations: 61.69 kB / 0.5874 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1458, allocations: 342.8 kB / 0.5877 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1459, allocations: 83.95 kB / 0.5878 GB, free: 432 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1461, allocations: 115.4 kB / 0.5879 GB, free: 304 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1464, allocations: 205.6 kB / 0.5881 GB, free: 96 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1464, allocations: 0 / 0.5881 GB, free: 96 kB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004292/0.1469, allocations: 277.1 kB / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1469, allocations: 9.875 kB / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1469, allocations: 0 / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1469, allocations: 0 / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.1471, allocations: 67.91 kB / 0.5884 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1472, allocations: 0 / 0.5884 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1473, allocations: 34.09 kB / 0.5884 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.1473, allocations: 11.98 kB / 0.5884 GB, free: 15.7 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.0001464/0.1475, allocations: 162.4 kB / 0.5886 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.1476, allocations: 27.62 kB / 0.5886 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.1482, allocations: 380.8 kB / 0.589 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1482, allocations: 4 kB / 0.589 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1482, allocations: 0 / 0.589 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1482, allocations: 3.938 kB / 0.589 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1485, allocations: 329.3 kB / 0.5893 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1485, allocations: 3.938 kB / 0.5893 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.1487, allocations: 59.84 kB / 0.5894 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1487, allocations: 0 / 0.5894 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1488, allocations: 8 kB / 0.5894 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1488, allocations: 4 kB / 0.5894 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1488, allocations: 7.984 kB / 0.5894 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.1492, allocations: 322.2 kB / 0.5897 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1493, allocations: 140.7 kB / 0.5898 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1494, allocations: 8 kB / 0.5898 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1496, allocations: 11.98 kB / 0.5899 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1496, allocations: 23.95 kB / 0.5899 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.1497, allocations: 19.94 kB / 0.5899 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001913/0.1499, allocations: 240.4 kB / 0.5901 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1499, allocations: 0 / 0.5901 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002812/0.1501, allocations: 59.91 kB / 0.5902 GB, free: 13.82 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.001459/0.1516, allocations: 1.143 MB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.152, allocations: 236.2 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.152, allocations: 0 / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1522, allocations: 123.8 kB / 0.5916 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.1525, allocations: 40.25 kB / 0.5917 GB, free: 12.43 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.00272/0.1552, allocations: 2.493 MB / 0.5941 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1555, allocations: 0.7542 MB / 0.5949 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000299/0.1558, allocations: 146.8 kB / 0.595 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1559, allocations: 95.33 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1559, allocations: 0 / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.422/2.578, allocations: 5.232 MB / 0.6002 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/2.579, allocations: 271.3 kB / 0.6005 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/4.361, allocations: 0 / 0.6005 GB, free: 3.461 MB / 0.4981 GB (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)