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.001662/0.001662, allocations: 103.7 kB / 16.4 MB, free: 5.977 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.002149/0.002149, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7924/0.7924, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.06 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.171, allocations: 80.21 MB / 0.6604 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00321/0.1742, allocations: 1.63 MB / 0.6619 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1761, allocations: 1.171 MB / 0.6631 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.1762, allocations: 7.875 kB / 0.6631 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1765, allocations: 19.86 kB / 0.6631 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.1769, allocations: 71.62 kB / 0.6632 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.1774, allocations: 149 kB / 0.6633 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1777, allocations: 245.5 kB / 0.6636 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1779, allocations: 20.16 kB / 0.6636 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.178, allocations: 87.81 kB / 0.6637 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.1783, allocations: 91.7 kB / 0.6638 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.1783, allocations: 16 kB / 0.6638 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.1785, allocations: 75.97 kB / 0.6638 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1787, allocations: 83.73 kB / 0.6639 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1788, allocations: 111.4 kB / 0.664 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.1792, allocations: 275.1 kB / 0.6643 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1792, allocations: 3.984 kB / 0.6643 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.494e-06/0.1792, allocations: 0 / 0.6643 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.1793, allocations: 0 / 0.6643 GB, free: 6.312 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.0009914/0.1803, allocations: 0.5305 MB / 0.6648 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1803, allocations: 8.031 kB / 0.6648 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.1804, allocations: 24.66 kB / 0.6648 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1807, allocations: 264.8 kB / 0.6651 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1808, allocations: 16.38 kB / 0.6651 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.1808, allocations: 12.38 kB / 0.6651 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.1812, allocations: 218.1 kB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1812, allocations: 0 / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.1813, allocations: 8 kB / 0.6653 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1813, allocations: 0 / 0.6653 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/0.1822, allocations: 0.7373 MB / 0.6661 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.1832, allocations: 0.5743 MB / 0.6666 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.1835, allocations: 232 kB / 0.6668 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1837, allocations: 100.8 kB / 0.6669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.1838, allocations: 19.97 kB / 0.667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.1841, allocations: 173.5 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.033e-06/0.1841, allocations: 0 / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006854/0.1848, allocations: 370.7 kB / 0.6675 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.1849, allocations: 136.5 kB / 0.6676 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.1852, allocations: 305 kB / 0.6679 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.1853, allocations: 33.7 kB / 0.6679 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.1854, allocations: 120.8 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.874e-05/0.1855, allocations: 110.5 kB / 0.6681 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.1856, allocations: 69.62 kB / 0.6682 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1857, allocations: 342.8 kB / 0.6685 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1858, allocations: 75.95 kB / 0.6686 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.186, allocations: 123.3 kB / 0.6687 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.1863, allocations: 210.3 kB / 0.6689 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1863, allocations: 0 / 0.6689 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004346/0.1868, allocations: 277.2 kB / 0.6692 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1868, allocations: 4 kB / 0.6692 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1868, allocations: 3.984 kB / 0.6692 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1868, allocations: 4 kB / 0.6692 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1871, allocations: 55.91 kB / 0.6693 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1871, allocations: 4 kB / 0.6693 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1872, allocations: 39.7 kB / 0.6693 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1873, allocations: 15.92 kB / 0.6693 GB, free: 0.8867 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.0001691/0.1874, allocations: 164 kB / 0.6695 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.1875, allocations: 27.72 kB / 0.6695 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.1882, allocations: 376.7 kB / 0.6699 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1882, allocations: 4 kB / 0.6699 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1882, allocations: 0 / 0.6699 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1882, allocations: 0 / 0.6699 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1885, allocations: 337.1 kB / 0.6702 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1885, allocations: 0 / 0.6702 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1887, allocations: 51.97 kB / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1887, allocations: 0 / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1887, allocations: 11.94 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1887, allocations: 0 / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1887, allocations: 4.047 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.1893, allocations: 326.2 kB / 0.6706 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1894, allocations: 140.7 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.1895, allocations: 12 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1896, allocations: 11.98 kB / 0.6707 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.1897, allocations: 19.97 kB / 0.6707 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.1897, allocations: 19.98 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001991/0.1899, allocations: 240.4 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1899, allocations: 4 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002963/0.1902, allocations: 56 kB / 0.671 GB, free: 15.01 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.0009384/0.1912, allocations: 407.4 kB / 0.6714 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003882/0.1916, allocations: 219.8 kB / 0.6716 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1916, allocations: 0 / 0.6716 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.1918, allocations: 127.8 kB / 0.6718 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1921, allocations: 32.66 kB / 0.6718 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.1929, allocations: 0.52 MB / 0.6723 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.1933, allocations: 0.7612 MB / 0.673 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1934, allocations: 55.41 kB / 0.6731 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1934, allocations: 0 / 0.6731 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.007328/0.2007, allocations: 4.199 MB / 0.6772 GB, free: 8.855 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)