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.001023/0.001023, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008854/0.008854, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7798/0.7798, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 8 kB / 0.504 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5219, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001997/0.5239, allocations: 1.36 MB / 0.585 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.5256, allocations: 1.129 MB / 0.5861 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.5256, allocations: 0.6875 kB / 0.5861 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.5259, allocations: 30.41 kB / 0.5861 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.5261, allocations: 50.16 kB / 0.5862 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.5265, allocations: 128.5 kB / 0.5863 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.5268, allocations: 215.4 kB / 0.5865 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.527, allocations: 23.19 kB / 0.5865 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.5271, allocations: 74.17 kB / 0.5866 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.5273, allocations: 87.34 kB / 0.5867 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.5273, allocations: 8.312 kB / 0.5867 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.5275, allocations: 63.06 kB / 0.5868 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5276, allocations: 71.92 kB / 0.5868 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.5277, allocations: 118.1 kB / 0.5869 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.5281, allocations: 273.1 kB / 0.5872 GB, free: 1.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.5281, allocations: 1.672 kB / 0.5872 GB, free: 1.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5281, allocations: 0 / 0.5872 GB, free: 1.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.5282, allocations: 0 / 0.5872 GB, free: 1.742 MB / 430.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.0006481/0.5288, allocations: 493 kB / 0.5877 GB, free: 1.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5289, allocations: 9.516 kB / 0.5877 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.5289, allocations: 29.06 kB / 0.5877 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.5292, allocations: 265.5 kB / 0.588 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.5293, allocations: 15.38 kB / 0.588 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.5293, allocations: 14.16 kB / 0.588 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.5297, allocations: 207.4 kB / 0.5882 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5297, allocations: 1.031 kB / 0.5882 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.5297, allocations: 4.969 kB / 0.5882 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5298, allocations: 3.781 kB / 0.5882 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.5309, allocations: 0.7463 MB / 0.5889 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009621/0.5318, allocations: 0.5719 MB / 0.5895 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.5322, allocations: 221.6 kB / 0.5897 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.5324, allocations: 109.2 kB / 0.5898 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.5325, allocations: 21.91 kB / 0.5898 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.5328, allocations: 173.7 kB / 0.59 GB, free: 188 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.5329, allocations: 0 / 0.59 GB, free: 188 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007304/0.5336, allocations: 368.8 kB / 0.5903 GB, free: 44 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.5337, allocations: 133.4 kB / 0.5905 GB, free: 15.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.5341, allocations: 305.7 kB / 0.5908 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.5342, allocations: 36.67 kB / 0.5908 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5343, allocations: 126 kB / 0.5909 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5344, allocations: 113.8 kB / 0.591 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.5344, allocations: 29.55 kB / 0.591 GB, free: 15.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5346, allocations: 342.1 kB / 0.5914 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5347, allocations: 75.97 kB / 0.5914 GB, free: 15.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.535, allocations: 122.4 kB / 0.5916 GB, free: 15.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.5353, allocations: 208.9 kB / 0.5918 GB, free: 14.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5353, allocations: 0 / 0.5918 GB, free: 14.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004704/0.5358, allocations: 277.4 kB / 0.592 GB, free: 14.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5358, allocations: 5.281 kB / 0.592 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5359, allocations: 1.594 kB / 0.592 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5359, allocations: 1.406 kB / 0.592 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.5361, allocations: 53.73 kB / 0.5921 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5361, allocations: 5.594 kB / 0.5921 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.5363, allocations: 26.58 kB / 0.5921 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.5364, allocations: 17.3 kB / 0.5921 GB, free: 14.82 MB / 446.1 MB 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.0001739/0.5365, allocations: 160.4 kB / 0.5923 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.5366, allocations: 29.27 kB / 0.5923 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.5374, allocations: 371.6 kB / 0.5927 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5374, allocations: 4.125 kB / 0.5927 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5374, allocations: 0 / 0.5927 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5374, allocations: 3.953 kB / 0.5927 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.5378, allocations: 332.1 kB / 0.593 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5378, allocations: 4.703 kB / 0.593 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.538, allocations: 57.95 kB / 0.5931 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.538, allocations: 2.094 kB / 0.5931 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.538, allocations: 9.625 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.538, allocations: 2.25 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.538, allocations: 0.6094 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.5386, allocations: 315.9 kB / 0.5934 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.5388, allocations: 153.4 kB / 0.5935 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.5388, allocations: 18.88 kB / 0.5935 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.539, allocations: 17.42 kB / 0.5936 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.5391, allocations: 25.31 kB / 0.5936 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.5391, allocations: 19.16 kB / 0.5936 GB, free: 13.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.5394, allocations: 238.9 kB / 0.5938 GB, free: 13.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5394, allocations: 0 / 0.5938 GB, free: 13.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.5398, allocations: 61.03 kB / 0.5939 GB, free: 13.78 MB / 446.1 MB 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.5407, allocations: 408.1 kB / 0.5943 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.5411, allocations: 216.4 kB / 0.5945 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5412, allocations: 1.25 kB / 0.5945 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.5414, allocations: 122.8 kB / 0.5946 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.5416, allocations: 33.27 kB / 0.5946 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.5426, allocations: 0.5817 MB / 0.5952 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5429, allocations: 0.7569 MB / 0.5959 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003477/0.5433, allocations: 142.9 kB / 0.5961 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.5434, allocations: 41.14 kB / 0.5961 GB, free: 12.41 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5434, allocations: 5.219 kB / 0.5961 GB, free: 12.4 MB / 446.1 MB Notification: Performance of Templates: time 0.006663/0.55, allocations: 2.903 MB / 0.5989 GB, free: 11.32 MB / 446.1 MB 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)