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.001015/0.001015, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.196/1.196, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6732/0.6732, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 66.83 kB / 0.5018 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3454, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002571/0.348, allocations: 1.646 MB / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3495, allocations: 1.167 MB / 0.5828 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.3496, allocations: 1.094 kB / 0.5828 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.3498, allocations: 24.42 kB / 0.5829 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.35, allocations: 65.77 kB / 0.5829 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3504, allocations: 150.8 kB / 0.5831 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.3506, allocations: 243.9 kB / 0.5833 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.3507, allocations: 16.61 kB / 0.5833 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.3508, allocations: 76.05 kB / 0.5834 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.351, allocations: 95.42 kB / 0.5835 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.3511, allocations: 17.62 kB / 0.5835 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3512, allocations: 80.42 kB / 0.5836 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.3513, allocations: 80.67 kB / 0.5837 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.3514, allocations: 104.3 kB / 0.5838 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3517, allocations: 277.7 kB / 0.584 GB, free: 2.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3517, allocations: 0.75 kB / 0.584 GB, free: 2.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3517, allocations: 0 / 0.584 GB, free: 2.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3517, allocations: 0.7188 kB / 0.584 GB, free: 2.012 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.000585/0.3523, allocations: 0.5282 MB / 0.5845 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.3524, allocations: 8.125 kB / 0.5845 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.3524, allocations: 26.33 kB / 0.5846 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.3527, allocations: 273.2 kB / 0.5848 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3527, allocations: 10.38 kB / 0.5848 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3527, allocations: 18.2 kB / 0.5849 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.353, allocations: 216.1 kB / 0.5851 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3531, allocations: 0 / 0.5851 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3531, allocations: 5.781 kB / 0.5851 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3531, allocations: 4.344 kB / 0.5851 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.354, allocations: 0.7384 MB / 0.5858 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.3549, allocations: 0.5732 MB / 0.5864 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.3552, allocations: 221.1 kB / 0.5866 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3554, allocations: 100.8 kB / 0.5867 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.3554, allocations: 25.72 kB / 0.5867 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.3557, allocations: 173.7 kB / 0.5869 GB, free: 440 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.323e-06/0.3557, allocations: 0 / 0.5869 GB, free: 440 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005999/0.3563, allocations: 366.2 kB / 0.5872 GB, free: 300 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3564, allocations: 137.3 kB / 0.5873 GB, free: 136 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3567, allocations: 302.3 kB / 0.5876 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.3567, allocations: 32.45 kB / 0.5877 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.3568, allocations: 129.5 kB / 0.5878 GB, free: 15.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.3569, allocations: 110.1 kB / 0.5879 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.357, allocations: 64.81 kB / 0.5879 GB, free: 15.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3571, allocations: 338.3 kB / 0.5883 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3573, allocations: 78.8 kB / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.3574, allocations: 124.2 kB / 0.5885 GB, free: 15.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.3578, allocations: 215.8 kB / 0.5887 GB, free: 15.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3578, allocations: 0.8438 kB / 0.5887 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000428/0.3582, allocations: 268.7 kB / 0.5889 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3582, allocations: 6.266 kB / 0.5889 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3582, allocations: 0 / 0.5889 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3583, allocations: 1.031 kB / 0.5889 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3585, allocations: 62.78 kB / 0.589 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3585, allocations: 2.25 kB / 0.589 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3586, allocations: 22.95 kB / 0.589 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3587, allocations: 17.75 kB / 0.589 GB, free: 15.06 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.0001436/0.3588, allocations: 164.4 kB / 0.5892 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3589, allocations: 27.47 kB / 0.5892 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.3595, allocations: 376.6 kB / 0.5896 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3596, allocations: 4.766 kB / 0.5896 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3596, allocations: 0 / 0.5896 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3596, allocations: 2.094 kB / 0.5896 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.3599, allocations: 333.1 kB / 0.5899 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3599, allocations: 3.938 kB / 0.5899 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3601, allocations: 55.67 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3601, allocations: 5.438 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3601, allocations: 10.55 kB / 0.59 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3601, allocations: 1.406 kB / 0.59 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3601, allocations: 0.7031 kB / 0.59 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.3606, allocations: 320.6 kB / 0.5903 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3607, allocations: 146.6 kB / 0.5904 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3608, allocations: 10.72 kB / 0.5904 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3609, allocations: 15.7 kB / 0.5904 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.361, allocations: 24.66 kB / 0.5905 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.361, allocations: 12.2 kB / 0.5905 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3612, allocations: 237.8 kB / 0.5907 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3613, allocations: 0 / 0.5907 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3615, allocations: 69.59 kB / 0.5908 GB, free: 14.02 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.0008285/0.3624, allocations: 405.1 kB / 0.5912 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.3629, allocations: 297.2 kB / 0.5914 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3629, allocations: 1.297 kB / 0.5914 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.3631, allocations: 126.9 kB / 0.5916 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3633, allocations: 32.91 kB / 0.5916 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.3641, allocations: 0.4961 MB / 0.5921 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3643, allocations: 0.7551 MB / 0.5928 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003/0.3647, allocations: 146.2 kB / 0.593 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.3647, allocations: 41.73 kB / 0.593 GB, free: 12.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3647, allocations: 4 kB / 0.593 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Templates: time 0.006122/0.3709, allocations: 3.019 MB / 0.5959 GB, free: 11.68 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)