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.004905/0.004905, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001064/0.001064, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.304/1.304, allocations: 205.1 MB / 222.6 MB, free: 4.312 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3677/0.3677, allocations: 54.94 MB / 324.8 MB, free: 76 kB / 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.001392/0.001392, allocations: 69.27 kB / 456.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1069, allocations: 59.59 MB / 0.5038 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00232/0.1093, allocations: 1.582 MB / 0.5054 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009654/0.1102, allocations: 0.9533 MB / 0.5063 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.1103, allocations: 1.375 kB / 0.5063 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1105, allocations: 27.97 kB / 0.5063 GB, free: 7.707 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.000167/0.1107, allocations: 46.77 kB / 0.5064 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1109, allocations: 90.59 kB / 0.5065 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1111, allocations: 220.5 kB / 0.5067 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.1112, allocations: 17.89 kB / 0.5067 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.1113, allocations: 71.27 kB / 0.5067 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1114, allocations: 80.59 kB / 0.5068 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1115, allocations: 18.72 kB / 0.5068 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.1116, allocations: 52.89 kB / 0.5069 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.1116, allocations: 78.28 kB / 0.507 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.1117, allocations: 97.27 kB / 0.5071 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.112, allocations: 261.5 kB / 0.5073 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.112, allocations: 0 / 0.5073 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.112, allocations: 1.25 kB / 0.5073 GB, free: 7.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.112, allocations: 0 / 0.5073 GB, free: 7.062 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.0005651/0.1126, allocations: 0.5203 MB / 0.5078 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1126, allocations: 9.906 kB / 0.5078 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.1127, allocations: 25.22 kB / 0.5079 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1128, allocations: 261.6 kB / 0.5081 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1129, allocations: 14.53 kB / 0.5081 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1129, allocations: 13.78 kB / 0.5081 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1131, allocations: 199.1 kB / 0.5083 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1132, allocations: 0 / 0.5083 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.1132, allocations: 8 kB / 0.5083 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1132, allocations: 4 kB / 0.5083 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.1138, allocations: 0.7295 MB / 0.509 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.1144, allocations: 0.5586 MB / 0.5096 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.1147, allocations: 228 kB / 0.5098 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1148, allocations: 108.8 kB / 0.5099 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1148, allocations: 15.97 kB / 0.5099 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.1151, allocations: 181.4 kB / 0.5101 GB, free: 4.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.1151, allocations: 0 / 0.5101 GB, free: 4.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0004616/0.1155, allocations: 350.8 kB / 0.5104 GB, free: 3.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1156, allocations: 85.05 kB / 0.5105 GB, free: 3.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1158, allocations: 287.1 kB / 0.5108 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1158, allocations: 33.7 kB / 0.5108 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.1158, allocations: 120.8 kB / 0.5109 GB, free: 3.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1159, allocations: 106.5 kB / 0.511 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.116, allocations: 65.69 kB / 0.5111 GB, free: 3.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.116, allocations: 330.8 kB / 0.5114 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1161, allocations: 83.95 kB / 0.5115 GB, free: 2.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1162, allocations: 106.7 kB / 0.5116 GB, free: 2.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1165, allocations: 208.7 kB / 0.5118 GB, free: 2.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1165, allocations: 0 / 0.5118 GB, free: 2.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003019/0.1168, allocations: 269.8 kB / 0.5121 GB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1168, allocations: 4 kB / 0.5121 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1168, allocations: 32 / 0.5121 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1168, allocations: 8 kB / 0.5121 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.117, allocations: 63.78 kB / 0.5121 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.117, allocations: 3.938 kB / 0.5121 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.1171, allocations: 27.73 kB / 0.5122 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1171, allocations: 12 kB / 0.5122 GB, free: 1.988 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 9.335e-05/0.1172, allocations: 161.7 kB / 0.5123 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.1173, allocations: 19.72 kB / 0.5123 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.1173, allocations: 46.64 kB / 0.5124 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1173, allocations: 4 kB / 0.5124 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1174, allocations: 3.938 kB / 0.5124 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1174, allocations: 0 / 0.5124 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1175, allocations: 317.3 kB / 0.5127 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1176, allocations: 0 / 0.5127 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1177, allocations: 63.91 kB / 0.5128 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1177, allocations: 0 / 0.5128 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1177, allocations: 8 kB / 0.5128 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1177, allocations: 0 / 0.5128 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1177, allocations: 11.94 kB / 0.5128 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.118, allocations: 312.5 kB / 0.5131 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.1181, allocations: 132.7 kB / 0.5132 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1182, allocations: 4 kB / 0.5132 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.1183, allocations: 15.98 kB / 0.5132 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1183, allocations: 23.91 kB / 0.5132 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1183, allocations: 15.98 kB / 0.5133 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1184, allocations: 228.6 kB / 0.5135 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1185, allocations: 0 / 0.5135 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1187, allocations: 48 kB / 0.5135 GB, free: 0.5078 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.0007545/0.1195, allocations: 408.5 kB / 0.5139 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1197, allocations: 220.3 kB / 0.5141 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1197, allocations: 0 / 0.5141 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1199, allocations: 124.4 kB / 0.5142 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1202, allocations: 35.92 kB / 0.5143 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.1209, allocations: 0.4888 MB / 0.5147 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1212, allocations: 0.7501 MB / 0.5155 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.1215, allocations: 150.2 kB / 0.5156 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.1216, allocations: 43.41 kB / 0.5157 GB, free: 14.4 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1216, allocations: 0 / 0.5157 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Templates: time 0.005365/0.127, allocations: 2.617 MB / 0.5182 GB, free: 11.79 MB / 398.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)