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.0007842/0.0007842, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.000785/0.0007849, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 223.3 MB / 240 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7138/0.7138, allocations: 132.4 MB / 423.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 19.98 kB / 0.5034 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3513, allocations: 81.57 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001473/0.3528, allocations: 1.338 MB / 0.5844 GB, free: 3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3541, allocations: 1.094 MB / 0.5855 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.3541, allocations: 0.9375 kB / 0.5855 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.3543, allocations: 20.34 kB / 0.5855 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.3545, allocations: 54.41 kB / 0.5855 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.3548, allocations: 131.1 kB / 0.5857 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.355, allocations: 203 kB / 0.5858 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.3551, allocations: 19.33 kB / 0.5859 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.3552, allocations: 69.81 kB / 0.5859 GB, free: 2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3554, allocations: 85.55 kB / 0.586 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.3554, allocations: 12.59 kB / 0.586 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3555, allocations: 60.86 kB / 0.5861 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.3556, allocations: 74.78 kB / 0.5862 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3557, allocations: 54.94 kB / 0.5862 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.3559, allocations: 193.7 kB / 0.5864 GB, free: 1.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3559, allocations: 4 kB / 0.5864 GB, free: 1.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3559, allocations: 0 / 0.5864 GB, free: 1.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3559, allocations: 1.031 kB / 0.5864 GB, free: 1.816 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.0005346/0.3565, allocations: 495.1 kB / 0.5869 GB, free: 1.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3565, allocations: 9.344 kB / 0.5869 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.3566, allocations: 32.69 kB / 0.5869 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3568, allocations: 255.2 kB / 0.5872 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3568, allocations: 10.05 kB / 0.5872 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3569, allocations: 17.72 kB / 0.5872 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.3572, allocations: 206.5 kB / 0.5874 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3572, allocations: 0 / 0.5874 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3573, allocations: 6.25 kB / 0.5874 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3573, allocations: 7.719 kB / 0.5874 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.3582, allocations: 0.7329 MB / 0.5881 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008084/0.359, allocations: 0.5745 MB / 0.5887 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.3594, allocations: 225.1 kB / 0.5889 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3595, allocations: 97.12 kB / 0.589 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.3596, allocations: 20.89 kB / 0.589 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.3599, allocations: 172.8 kB / 0.5892 GB, free: 280 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.245e-06/0.3599, allocations: 0 / 0.5892 GB, free: 280 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005981/0.3605, allocations: 370.6 kB / 0.5895 GB, free: 132 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.3605, allocations: 137.5 kB / 0.5896 GB, free: 15.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.3609, allocations: 308.2 kB / 0.5899 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3609, allocations: 31.64 kB / 0.59 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.361, allocations: 122.5 kB / 0.5901 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/0.3611, allocations: 109.6 kB / 0.5902 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.3611, allocations: 5.188 kB / 0.5902 GB, free: 15.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3612, allocations: 338.8 kB / 0.5905 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3613, allocations: 77.72 kB / 0.5906 GB, free: 15.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.3615, allocations: 127.1 kB / 0.5907 GB, free: 15.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3617, allocations: 102.3 kB / 0.5908 GB, free: 15.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3617, allocations: 1.375 kB / 0.5908 GB, free: 15.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004171/0.3621, allocations: 267.3 kB / 0.5911 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3622, allocations: 5.406 kB / 0.5911 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3622, allocations: 0 / 0.5911 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3622, allocations: 2.156 kB / 0.5911 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.3624, allocations: 62.8 kB / 0.5911 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3624, allocations: 13.11 kB / 0.5911 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.3626, allocations: 33.06 kB / 0.5912 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3626, allocations: 15.16 kB / 0.5912 GB, free: 14.96 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.3628, allocations: 158.8 kB / 0.5913 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.3628, allocations: 25.52 kB / 0.5914 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006789/0.3635, allocations: 374.2 kB / 0.5917 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3635, allocations: 7.594 kB / 0.5917 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3635, allocations: 0.8438 kB / 0.5917 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3635, allocations: 5.219 kB / 0.5917 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.3639, allocations: 325.5 kB / 0.592 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3639, allocations: 0 / 0.592 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.364, allocations: 54.89 kB / 0.5921 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3641, allocations: 6.062 kB / 0.5921 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.3641, allocations: 10.81 kB / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3641, allocations: 1.156 kB / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3641, allocations: 0 / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.3645, allocations: 322.2 kB / 0.5924 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3647, allocations: 146 kB / 0.5926 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.3647, allocations: 7.453 kB / 0.5926 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3649, allocations: 21.41 kB / 0.5926 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.365, allocations: 28.59 kB / 0.5926 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.365, allocations: 14.61 kB / 0.5926 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.3652, allocations: 234.2 kB / 0.5929 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3652, allocations: 1.188 kB / 0.5929 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3655, allocations: 59.86 kB / 0.5929 GB, free: 13.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008466/0.3664, allocations: 401.1 kB / 0.5933 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.3668, allocations: 221.7 kB / 0.5935 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3668, allocations: 0.5 kB / 0.5935 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.367, allocations: 126.4 kB / 0.5936 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3672, allocations: 32.34 kB / 0.5937 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.368, allocations: 0.5668 MB / 0.5942 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3683, allocations: 0.7514 MB / 0.5949 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003303/0.3686, allocations: 146.8 kB / 0.5951 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.3687, allocations: 41.25 kB / 0.5951 GB, free: 12.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3687, allocations: 0 / 0.5951 GB, free: 12.57 MB / 446.1 MB Notification: Performance of Templates: time 0.006064/0.3748, allocations: 2.82 MB / 0.5979 GB, free: 11.63 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)