Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001892/0.001892, allocations: 108 kB / 15.61 MB, free: 152 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.001554/0.001555, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4026/0.4026, allocations: 54.95 MB / 324.7 MB, free: 15.93 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.122, allocations: 59.59 MB / 454.9 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.2401/0.3621, allocations: 1.581 MB / 456.5 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.364, allocations: 0.9575 MB / 457.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.3642, allocations: 1.281 kB / 457.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.3646, allocations: 15.98 kB / 457.5 MB, free: 38.8 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.3649, allocations: 50.31 kB / 457.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.3653, allocations: 97.92 kB / 457.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.3657, allocations: 208.4 kB / 457.8 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3658, allocations: 21.23 kB / 457.9 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3659, allocations: 73.56 kB / 457.9 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.3662, allocations: 74.47 kB / 458 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.3663, allocations: 17.81 kB / 458 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3664, allocations: 66.75 kB / 458.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3666, allocations: 75.92 kB / 458.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3667, allocations: 99.38 kB / 458.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.3671, allocations: 245.5 kB / 458.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3671, allocations: 3.812 kB / 458.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3671, allocations: 1.344 kB / 458.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3671, allocations: 0 / 458.5 MB, free: 38.62 MB / 382.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.0008231/0.3679, allocations: 0.5145 MB / 459 MB, free: 38.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.368, allocations: 9.344 kB / 459 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.3681, allocations: 24.47 kB / 459 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.3684, allocations: 256.3 kB / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3684, allocations: 12.38 kB / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3684, allocations: 20 kB / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.3688, allocations: 199.2 kB / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3688, allocations: 0 / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3688, allocations: 7.984 kB / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3688, allocations: 3.625 kB / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.3696, allocations: 0.7309 MB / 460.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.3703, allocations: 0.5576 MB / 460.8 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3706, allocations: 219.7 kB / 461 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3708, allocations: 106.8 kB / 461.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.3708, allocations: 15.05 kB / 461.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.3712, allocations: 172.6 kB / 461.3 MB, free: 37.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.3712, allocations: 0 / 461.3 MB, free: 37.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006669/0.3719, allocations: 360.5 kB / 461.7 MB, free: 37.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.372, allocations: 82.33 kB / 461.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.3723, allocations: 295.7 kB / 462 MB, free: 37.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3723, allocations: 37.48 kB / 462.1 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.3724, allocations: 118.6 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.3725, allocations: 108.9 kB / 462.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.3726, allocations: 60.22 kB / 462.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3727, allocations: 335.4 kB / 462.7 MB, free: 36.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3729, allocations: 79.92 kB / 462.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.373, allocations: 113.3 kB / 462.9 MB, free: 36.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.3733, allocations: 202.7 kB / 463.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3734, allocations: 0.5625 kB / 463.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000363/0.3737, allocations: 266.8 kB / 463.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3738, allocations: 5.625 kB / 463.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3738, allocations: 0.6875 kB / 463.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3738, allocations: 7.266 kB / 463.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.374, allocations: 56.59 kB / 463.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.374, allocations: 5.406 kB / 463.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.3741, allocations: 22.12 kB / 463.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.3741, allocations: 14.91 kB / 463.4 MB, free: 36.29 MB / 382.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.tStart,$PRE.conTim.tStart,$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.0001071/0.3742, allocations: 158.5 kB / 463.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3743, allocations: 29.28 kB / 463.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.3744, allocations: 31.66 kB / 463.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3744, allocations: 4.875 kB / 463.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3744, allocations: 9.312 kB / 463.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3744, allocations: 4.25 kB / 463.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3746, allocations: 321.8 kB / 464 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3746, allocations: 0 / 464 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3748, allocations: 63.02 kB / 464.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3748, allocations: 0 / 464.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3748, allocations: 11 kB / 464.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3748, allocations: 3.625 kB / 464.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3748, allocations: 6.75 kB / 464.1 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.3752, allocations: 307.7 kB / 464.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.3753, allocations: 139.6 kB / 464.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.3754, allocations: 7.812 kB / 464.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.3755, allocations: 10.69 kB / 464.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.3755, allocations: 26.94 kB / 464.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3756, allocations: 17.2 kB / 464.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.3757, allocations: 221.2 kB / 464.8 MB, free: 35.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3757, allocations: 2.594 kB / 464.8 MB, free: 35.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.376, allocations: 53.69 kB / 464.8 MB, free: 35.43 MB / 382.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0009498/0.377, allocations: 404.1 kB / 465.2 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.3774, allocations: 290.8 kB / 465.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3774, allocations: 0 / 465.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3776, allocations: 129.7 kB / 465.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3779, allocations: 33.53 kB / 465.7 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.3786, allocations: 491.4 kB / 466.2 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.3788, allocations: 0.7605 MB / 466.9 MB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.379, allocations: 140.7 kB / 467.1 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.3791, allocations: 42.41 kB / 467.1 MB, free: 34.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3791, allocations: 0 / 467.1 MB, free: 34.2 MB / 382.1 MB Notification: Performance of Templates: time 0.00543/0.3846, allocations: 2.567 MB / 469.7 MB, free: 34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)