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.009335/0.009336, allocations: 100.7 kB / 15.73 MB, free: 5.586 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.001685/0.001686, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2703/0.2703, allocations: 54.98 MB / 324.9 MB, free: 4.836 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.001434/0.001435, allocations: 79.88 kB / 456.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1261, allocations: 59.59 MB / 0.5037 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002814/0.1289, allocations: 1.583 MB / 0.5053 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1302, allocations: 0.9659 MB / 0.5062 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.1303, allocations: 0 / 0.5062 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.1305, allocations: 27.83 kB / 0.5062 GB, free: 4.488 MB / 398.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.0001996/0.1307, allocations: 47.72 kB / 0.5063 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.131, allocations: 91.05 kB / 0.5064 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.1312, allocations: 213.7 kB / 0.5066 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.1313, allocations: 23.95 kB / 0.5066 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.1314, allocations: 71.83 kB / 0.5067 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1316, allocations: 75.8 kB / 0.5067 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.1316, allocations: 16 kB / 0.5067 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1318, allocations: 67.95 kB / 0.5068 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.1319, allocations: 83.75 kB / 0.5069 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.132, allocations: 87.42 kB / 0.507 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1323, allocations: 263 kB / 0.5072 GB, free: 3.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1323, allocations: 0 / 0.5072 GB, free: 3.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1323, allocations: 0 / 0.5072 GB, free: 3.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1323, allocations: 0 / 0.5072 GB, free: 3.469 MB / 398.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.0006923/0.133, allocations: 0.519 MB / 0.5077 GB, free: 2.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.133, allocations: 8.031 kB / 0.5077 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.1331, allocations: 28.56 kB / 0.5078 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1334, allocations: 251.8 kB / 0.508 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1334, allocations: 19.92 kB / 0.508 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1334, allocations: 16 kB / 0.508 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.1337, allocations: 196.6 kB / 0.5082 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1338, allocations: 0 / 0.5082 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1338, allocations: 8 kB / 0.5082 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1338, allocations: 4 kB / 0.5082 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.1346, allocations: 0.7334 MB / 0.509 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/0.1355, allocations: 0.5587 MB / 0.5095 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.1358, allocations: 220.2 kB / 0.5097 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.136, allocations: 105.6 kB / 0.5098 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.136, allocations: 23.91 kB / 0.5098 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003707/0.1364, allocations: 169.5 kB / 0.51 GB, free: 468 kB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.1364, allocations: 0 / 0.51 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006024/0.137, allocations: 354.8 kB / 0.5103 GB, free: 108 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.1371, allocations: 85.05 kB / 0.5104 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.1374, allocations: 295.1 kB / 0.5107 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.1375, allocations: 37.64 kB / 0.5107 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.1376, allocations: 116.8 kB / 0.5108 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.1377, allocations: 118.3 kB / 0.511 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.1378, allocations: 57.69 kB / 0.511 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1379, allocations: 334.8 kB / 0.5113 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1381, allocations: 79.95 kB / 0.5114 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1382, allocations: 110.7 kB / 0.5115 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.1386, allocations: 200.8 kB / 0.5117 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1386, allocations: 0 / 0.5117 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004241/0.139, allocations: 265.8 kB / 0.512 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.139, allocations: 8 kB / 0.512 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1391, allocations: 0 / 0.512 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1391, allocations: 7.922 kB / 0.512 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1393, allocations: 55.98 kB / 0.512 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1393, allocations: 7.922 kB / 0.512 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.1394, allocations: 15.84 kB / 0.5121 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1394, allocations: 8 kB / 0.5121 GB, free: 14.27 MB / 414.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.0001511/0.1396, allocations: 169.7 kB / 0.5122 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.1396, allocations: 23.72 kB / 0.5122 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.237e-05/0.1397, allocations: 34.66 kB / 0.5123 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1397, allocations: 7.938 kB / 0.5123 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1397, allocations: 3.938 kB / 0.5123 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1397, allocations: 3.984 kB / 0.5123 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.14, allocations: 317.3 kB / 0.5126 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.14, allocations: 4 kB / 0.5126 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1402, allocations: 55.91 kB / 0.5127 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1402, allocations: 0 / 0.5127 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1402, allocations: 12 kB / 0.5127 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1402, allocations: 3.984 kB / 0.5127 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1402, allocations: 3.938 kB / 0.5127 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1407, allocations: 308.6 kB / 0.513 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.1408, allocations: 140.7 kB / 0.5131 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.1408, allocations: 8 kB / 0.5131 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.1409, allocations: 15.94 kB / 0.5131 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.141, allocations: 27.89 kB / 0.5131 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.141, allocations: 15.98 kB / 0.5132 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.1412, allocations: 220.6 kB / 0.5134 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1413, allocations: 0 / 0.5134 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1415, allocations: 63.89 kB / 0.5134 GB, free: 12.77 MB / 414.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.0009128/0.1425, allocations: 399.8 kB / 0.5138 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.1429, allocations: 212.3 kB / 0.514 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1429, allocations: 4 kB / 0.514 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1431, allocations: 132.3 kB / 0.5141 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1434, allocations: 37.72 kB / 0.5142 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.1443, allocations: 484.8 kB / 0.5146 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1447, allocations: 0.754 MB / 0.5154 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.145, allocations: 138.2 kB / 0.5155 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.145, allocations: 39.42 kB / 0.5156 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.145, allocations: 0 / 0.5156 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.006197/0.1512, allocations: 2.619 MB / 0.5181 GB, free: 8.129 MB / 414.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)