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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008429/0.008429, allocations: 102.1 kB / 15.73 MB, free: 6.004 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.001323/0.001323, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8426/0.8426, allocations: 132.2 MB / 422.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.62 kB / 0.5814 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1783, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003386/0.1818, allocations: 1.644 MB / 0.6613 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1836, allocations: 1.166 MB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.1837, allocations: 4 kB / 0.6624 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1839, allocations: 27.86 kB / 0.6625 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1843, allocations: 71.61 kB / 0.6625 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1847, allocations: 146.9 kB / 0.6627 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.185, allocations: 237.6 kB / 0.6629 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1851, allocations: 24.17 kB / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.1852, allocations: 83.75 kB / 0.663 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1854, allocations: 91.77 kB / 0.6631 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.1855, allocations: 20 kB / 0.6631 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1856, allocations: 71.97 kB / 0.6632 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1857, allocations: 83.8 kB / 0.6633 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1859, allocations: 103.3 kB / 0.6634 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.1862, allocations: 291 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1862, allocations: 0 / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1862, allocations: 0 / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.1863, allocations: 4 kB / 0.6636 GB, free: 6.227 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.0008181/0.1871, allocations: 0.5305 MB / 0.6642 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1871, allocations: 11.97 kB / 0.6642 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.1872, allocations: 32.64 kB / 0.6642 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1875, allocations: 260.9 kB / 0.6644 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1876, allocations: 8.375 kB / 0.6645 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.1876, allocations: 16.38 kB / 0.6645 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.188, allocations: 214.2 kB / 0.6647 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.188, allocations: 4 kB / 0.6647 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.188, allocations: 4 kB / 0.6647 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.188, allocations: 4 kB / 0.6647 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000879/0.1889, allocations: 0.7373 MB / 0.6654 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.1898, allocations: 0.5704 MB / 0.666 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.1902, allocations: 236 kB / 0.6662 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1904, allocations: 100.8 kB / 0.6663 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.1905, allocations: 15.97 kB / 0.6663 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003739/0.1909, allocations: 173.5 kB / 0.6665 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.1909, allocations: 0 / 0.6665 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006835/0.1916, allocations: 374.7 kB / 0.6668 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.1917, allocations: 136.5 kB / 0.6669 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.192, allocations: 305 kB / 0.6672 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.192, allocations: 33.7 kB / 0.6673 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.1921, allocations: 120.8 kB / 0.6674 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.1922, allocations: 106.5 kB / 0.6675 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1923, allocations: 61.69 kB / 0.6675 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1924, allocations: 342.8 kB / 0.6679 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1926, allocations: 83.89 kB / 0.668 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1928, allocations: 123.4 kB / 0.6681 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.1931, allocations: 210.3 kB / 0.6683 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1931, allocations: 0 / 0.6683 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004201/0.1935, allocations: 277.2 kB / 0.6685 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1935, allocations: 4 kB / 0.6685 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1936, allocations: 0 / 0.6685 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1936, allocations: 0 / 0.6685 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1938, allocations: 59.91 kB / 0.6686 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1938, allocations: 7.984 kB / 0.6686 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.194, allocations: 23.78 kB / 0.6686 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.194, allocations: 27.8 kB / 0.6687 GB, free: 0.8047 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.0001462/0.1942, allocations: 164 kB / 0.6688 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.1942, allocations: 23.72 kB / 0.6688 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.1949, allocations: 380.7 kB / 0.6692 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1949, allocations: 0 / 0.6692 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1949, allocations: 4 kB / 0.6692 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1949, allocations: 3.984 kB / 0.6692 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1952, allocations: 329.2 kB / 0.6695 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1952, allocations: 4 kB / 0.6695 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.1954, allocations: 55.91 kB / 0.6696 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1954, allocations: 0 / 0.6696 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.1954, allocations: 12 kB / 0.6696 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1954, allocations: 3.984 kB / 0.6696 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1954, allocations: 0 / 0.6696 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.1959, allocations: 318.2 kB / 0.6699 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.196, allocations: 136.7 kB / 0.67 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.1961, allocations: 8 kB / 0.67 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1962, allocations: 19.98 kB / 0.6701 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.1963, allocations: 31.95 kB / 0.6701 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.1963, allocations: 12 kB / 0.6701 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002094/0.1966, allocations: 236.4 kB / 0.6703 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1966, allocations: 0 / 0.6703 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002936/0.1969, allocations: 60 kB / 0.6704 GB, free: 14.94 MB / 0.5137 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.0009307/0.1978, allocations: 404.4 kB / 0.6708 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.1982, allocations: 227.8 kB / 0.671 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1982, allocations: 0 / 0.671 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1984, allocations: 127.8 kB / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1987, allocations: 38.3 kB / 0.6711 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.1995, allocations: 498.8 kB / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1998, allocations: 0.7612 MB / 0.6724 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000304/0.2001, allocations: 142.8 kB / 0.6725 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.2002, allocations: 43.41 kB / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2002, allocations: 0 / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.00647/0.2067, allocations: 3.084 MB / 0.6755 GB, free: 9.805 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)