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.000979/0.000979, allocations: 90.52 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.006067/0.006067, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.521/1.521, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4023/0.4023, allocations: 55.01 MB / 325.7 MB, free: 0.6406 MB / 254.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.0005863/0.0005863, allocations: 16 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3749, allocations: 60.71 MB / 458 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001556/0.3765, allocations: 1.303 MB / 459.3 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.3775, allocations: 0.9269 MB / 460.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.3776, allocations: 2.75 kB / 460.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3778, allocations: 25.45 kB / 460.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.3779, allocations: 38.47 kB / 460.3 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.3781, allocations: 89.91 kB / 460.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3783, allocations: 197 kB / 460.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3785, allocations: 21.02 kB / 460.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.3785, allocations: 59.48 kB / 460.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3787, allocations: 71.75 kB / 460.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3787, allocations: 8.469 kB / 460.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.704e-05/0.3788, allocations: 52.75 kB / 460.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.3789, allocations: 63.25 kB / 460.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.379, allocations: 115.6 kB / 460.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3792, allocations: 241.3 kB / 461.2 MB, free: 37.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3792, allocations: 0 / 461.2 MB, free: 37.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3792, allocations: 1.281 kB / 461.2 MB, free: 37.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3792, allocations: 1.031 kB / 461.2 MB, free: 37.93 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.0005225/0.3798, allocations: 486.3 kB / 461.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3798, allocations: 15.12 kB / 461.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.3799, allocations: 24.44 kB / 461.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3801, allocations: 256.5 kB / 461.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3801, allocations: 10.09 kB / 461.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3801, allocations: 22.47 kB / 462 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.3804, allocations: 188.3 kB / 462.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3804, allocations: 3.656 kB / 462.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3804, allocations: 7.812 kB / 462.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3804, allocations: 7.031 kB / 462.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.3811, allocations: 0.737 MB / 462.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.3818, allocations: 0.5508 MB / 463.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3821, allocations: 221.3 kB / 463.7 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3823, allocations: 102.4 kB / 463.8 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.3823, allocations: 23.78 kB / 463.8 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.3826, allocations: 166.1 kB / 464 MB, free: 36.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.3826, allocations: 0.9062 kB / 464 MB, free: 36.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005157/0.3831, allocations: 356.8 kB / 464.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3832, allocations: 85.3 kB / 464.4 MB, free: 36.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.3834, allocations: 305.2 kB / 464.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3835, allocations: 30.58 kB / 464.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.3835, allocations: 119.5 kB / 464.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.3836, allocations: 105.4 kB / 464.9 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.3837, allocations: 30.64 kB / 465 MB, free: 36.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.3838, allocations: 336.6 kB / 465.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3839, allocations: 74.77 kB / 465.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.384, allocations: 111.7 kB / 465.5 MB, free: 36.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3843, allocations: 204.8 kB / 465.7 MB, free: 36.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3843, allocations: 0 / 465.7 MB, free: 36.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003209/0.3847, allocations: 275.7 kB / 465.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3847, allocations: 2.938 kB / 466 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3847, allocations: 0.75 kB / 466 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3847, allocations: 3 kB / 466 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3849, allocations: 55.5 kB / 466 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3849, allocations: 9.531 kB / 466 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.385, allocations: 31.02 kB / 466 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.385, allocations: 14.64 kB / 466.1 MB, free: 35.96 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.0001106/0.3852, allocations: 155.2 kB / 466.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.3852, allocations: 23.72 kB / 466.2 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.3857, allocations: 367.8 kB / 466.6 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3857, allocations: 4.094 kB / 466.6 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3857, allocations: 7.562 kB / 466.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3858, allocations: 4.875 kB / 466.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.386, allocations: 323.8 kB / 466.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.386, allocations: 0 / 466.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3861, allocations: 57.09 kB / 467 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3861, allocations: 2.969 kB / 467 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3862, allocations: 9.281 kB / 467 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3862, allocations: 3.031 kB / 467 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3862, allocations: 8.062 kB / 467 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.3865, allocations: 310.9 kB / 467.3 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.3866, allocations: 142.6 kB / 467.5 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.3866, allocations: 10.03 kB / 467.5 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.3867, allocations: 12.75 kB / 467.5 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.3868, allocations: 29.17 kB / 467.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.3868, allocations: 15.38 kB / 467.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.387, allocations: 220.2 kB / 467.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.387, allocations: 0 / 467.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3873, allocations: 58.84 kB / 467.8 MB, free: 35.28 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.0008419/0.3881, allocations: 403.7 kB / 468.2 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.3885, allocations: 213 kB / 468.4 MB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3885, allocations: 0 / 468.4 MB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3886, allocations: 122.4 kB / 468.5 MB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3889, allocations: 36 kB / 468.5 MB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007153/0.3896, allocations: 0.5733 MB / 469.1 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3898, allocations: 0.7498 MB / 469.9 MB, free: 34.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002769/0.3901, allocations: 143.8 kB / 470 MB, free: 34.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.3902, allocations: 36.78 kB / 470 MB, free: 34.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3902, allocations: 0 / 470 MB, free: 34.09 MB / 382.1 MB Notification: Performance of Templates: time 0.004982/0.3952, allocations: 2.448 MB / 472.5 MB, free: 33.89 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: