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.01045/0.01045, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001484/0.001484, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8734/0.8734, allocations: 132.2 MB / 422.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 68.97 kB / 0.5814 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1793, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003092/0.1824, allocations: 1.639 MB / 0.6613 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1843, allocations: 1.175 MB / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.1844, allocations: 0 / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1846, allocations: 23.84 kB / 0.6625 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.185, allocations: 67.62 kB / 0.6625 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.1854, allocations: 151.6 kB / 0.6627 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.1857, allocations: 237.6 kB / 0.6629 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1858, allocations: 28.16 kB / 0.6629 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.1859, allocations: 83.75 kB / 0.663 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1861, allocations: 95.77 kB / 0.6631 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.1862, allocations: 16 kB / 0.6631 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1863, allocations: 71.98 kB / 0.6632 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.787e-05/0.1864, allocations: 75.8 kB / 0.6632 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1866, allocations: 107.3 kB / 0.6634 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1869, allocations: 287.1 kB / 0.6636 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1869, allocations: 8 kB / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1869, allocations: 0 / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.187, allocations: 0 / 0.6636 GB, free: 6.211 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.0008624/0.1878, allocations: 0.5227 MB / 0.6641 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1879, allocations: 12.03 kB / 0.6642 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.188, allocations: 32.64 kB / 0.6642 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1883, allocations: 268.7 kB / 0.6644 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1883, allocations: 12.38 kB / 0.6645 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1883, allocations: 12.38 kB / 0.6645 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.1887, allocations: 222.2 kB / 0.6647 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1887, allocations: 0 / 0.6647 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.1888, allocations: 4 kB / 0.6647 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1888, allocations: 4 kB / 0.6647 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.1897, allocations: 0.7372 MB / 0.6654 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1909, allocations: 0.5665 MB / 0.666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.1912, allocations: 232 kB / 0.6662 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.1914, allocations: 100.8 kB / 0.6663 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.1915, allocations: 19.97 kB / 0.6663 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/0.1919, allocations: 173.5 kB / 0.6665 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.1919, allocations: 4 kB / 0.6665 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.000728/0.1926, allocations: 370.7 kB / 0.6668 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.1927, allocations: 132.5 kB / 0.6669 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.193, allocations: 309 kB / 0.6672 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.193, allocations: 33.7 kB / 0.6673 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1932, allocations: 120.8 kB / 0.6674 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/0.1933, allocations: 106.5 kB / 0.6675 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.1933, allocations: 65.69 kB / 0.6676 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1935, allocations: 338.8 kB / 0.6679 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1937, allocations: 83.89 kB / 0.668 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1938, allocations: 119.4 kB / 0.6681 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.1942, allocations: 214.3 kB / 0.6683 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1942, allocations: 0 / 0.6683 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004111/0.1946, allocations: 269.2 kB / 0.6685 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1946, allocations: 4 kB / 0.6685 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1946, allocations: 0 / 0.6685 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1946, allocations: 8 kB / 0.6685 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.1949, allocations: 59.91 kB / 0.6686 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1949, allocations: 7.984 kB / 0.6686 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.195, allocations: 23.78 kB / 0.6686 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1951, allocations: 19.92 kB / 0.6686 GB, free: 0.7969 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.0001615/0.1952, allocations: 160 kB / 0.6688 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.1953, allocations: 27.66 kB / 0.6688 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.196, allocations: 380.7 kB / 0.6692 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.196, allocations: 4 kB / 0.6692 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.196, allocations: 0 / 0.6692 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1961, allocations: 7.984 kB / 0.6692 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.1964, allocations: 329.2 kB / 0.6695 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1964, allocations: 3.938 kB / 0.6695 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1966, allocations: 59.91 kB / 0.6696 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1966, allocations: 4 kB / 0.6696 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.1967, allocations: 8 kB / 0.6696 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1967, allocations: 0 / 0.6696 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1967, allocations: 3.984 kB / 0.6696 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.1972, allocations: 318.2 kB / 0.6699 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1973, allocations: 144.7 kB / 0.67 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.1974, allocations: 4 kB / 0.67 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1975, allocations: 15.98 kB / 0.6701 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.1976, allocations: 31.98 kB / 0.6701 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.1977, allocations: 8 kB / 0.6701 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002435/0.1979, allocations: 240.4 kB / 0.6703 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.254e-06/0.1979, allocations: 0 / 0.6703 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003064/0.1982, allocations: 63.94 kB / 0.6704 GB, free: 14.92 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.00106/0.1993, allocations: 400.9 kB / 0.6708 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.1998, allocations: 223.7 kB / 0.671 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1998, allocations: 4 kB / 0.671 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.2, allocations: 131.8 kB / 0.6711 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2003, allocations: 35.47 kB / 0.6711 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.2013, allocations: 498.8 kB / 0.6716 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.2017, allocations: 0.7534 MB / 0.6723 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003157/0.2021, allocations: 154.8 kB / 0.6725 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.2022, allocations: 43.41 kB / 0.6725 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2022, allocations: 0 / 0.6725 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.006944/0.2091, allocations: 3.08 MB / 0.6755 GB, free: 9.785 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)