Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure") translateModel(Annex60.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001327/0.001328, allocations: 188.1 kB / 16.25 MB, free: 6.625 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.585/1.585, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4072/0.4072, allocations: 54.93 MB / 324.4 MB, free: 72 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.001356/0.001356, allocations: 63.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 59.59 MB / 454.5 MB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.4153/0.557, allocations: 167.2 MB / 0.6071 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008963/0.566, allocations: 7.14 MB / 0.614 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006512/0.5667, allocations: 7.938 kB / 0.614 GB, free: 9.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5678, allocations: 254.7 kB / 0.6143 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.5691, allocations: 446.7 kB / 0.6147 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.5706, allocations: 459.3 kB / 0.6151 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.5719, allocations: 1.038 MB / 0.6162 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005701/0.5725, allocations: 341.8 kB / 0.6165 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.5737, allocations: 0.5604 MB / 0.617 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.5742, allocations: 346.7 kB / 0.6174 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.5742, allocations: 36 kB / 0.6174 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008499/0.5751, allocations: 499.2 kB / 0.6179 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.5753, allocations: 180.8 kB / 0.618 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.5756, allocations: 251 kB / 0.6183 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009396/0.5766, allocations: 0.7089 MB / 0.619 GB, free: 4.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5766, allocations: 0 / 0.619 GB, free: 4.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5766, allocations: 4 kB / 0.619 GB, free: 4.367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.5766, allocations: 0 / 0.619 GB, free: 4.367 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001444/0.578, allocations: 0.7494 MB / 0.6197 GB, free: 3.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.5781, allocations: 8.031 kB / 0.6197 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.5784, allocations: 64.14 kB / 0.6198 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.579, allocations: 337.1 kB / 0.6201 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.579, allocations: 29 kB / 0.6201 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.5791, allocations: 35.94 kB / 0.6202 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.5802, allocations: 480.3 kB / 0.6206 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.5803, allocations: 0 / 0.6206 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.5803, allocations: 19.94 kB / 0.6206 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.5804, allocations: 12 kB / 0.6207 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.5812, allocations: 318.2 kB / 0.621 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.584, allocations: 1.99 MB / 0.6229 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.5845, allocations: 106.5 kB / 0.623 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.5846, allocations: 49.5 kB / 0.6231 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.5846, allocations: 3.984 kB / 0.6231 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.5847, allocations: 34.56 kB / 0.6231 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.5848, allocations: 5.062 kB / 0.6231 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001008/0.5858, allocations: 233 kB / 0.6233 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.5858, allocations: 63.34 kB / 0.6234 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.5865, allocations: 453.8 kB / 0.6238 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.5865, allocations: 25.7 kB / 0.6238 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.5867, allocations: 251.2 kB / 0.6241 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.5867, allocations: 35.55 kB / 0.6241 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.5869, allocations: 61.61 kB / 0.6242 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.587, allocations: 342.8 kB / 0.6245 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.5873, allocations: 92.8 kB / 0.6246 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.5876, allocations: 226.4 kB / 0.6248 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.5882, allocations: 290 kB / 0.6251 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5882, allocations: 1.5 kB / 0.6251 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006927/0.5889, allocations: 339.5 kB / 0.6254 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5889, allocations: 11.98 kB / 0.6254 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.5889, allocations: 8.562 kB / 0.6254 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.5889, allocations: 4.5 kB / 0.6254 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.5892, allocations: 71.91 kB / 0.6255 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.5893, allocations: 15.92 kB / 0.6255 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.5897, allocations: 63.36 kB / 0.6256 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.5897, allocations: 19.98 kB / 0.6256 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002893/0.59, allocations: 204 kB / 0.6258 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002457/0.5903, allocations: 214.5 kB / 0.626 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003658/0.5907, allocations: 265.5 kB / 0.6262 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.5907, allocations: 4.703 kB / 0.6262 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005233/0.5912, allocations: 319.1 kB / 0.6265 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5912, allocations: 11.94 kB / 0.6266 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5912, allocations: 4 kB / 0.6266 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.445e-06/0.5913, allocations: 8.844 kB / 0.6266 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.5915, allocations: 60.41 kB / 0.6266 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5916, allocations: 11.94 kB / 0.6266 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.5919, allocations: 31.83 kB / 0.6267 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5919, allocations: 16 kB / 0.6267 GB, free: 11.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001813/0.5921, allocations: 201.1 kB / 0.6269 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.5922, allocations: 43.47 kB / 0.6269 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.5923, allocations: 35.22 kB / 0.627 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5923, allocations: 3.938 kB / 0.627 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5923, allocations: 3.938 kB / 0.627 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5923, allocations: 0 / 0.627 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009627/0.5933, allocations: 0.5751 MB / 0.6275 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5933, allocations: 64 / 0.6275 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.5935, allocations: 35.91 kB / 0.6276 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5935, allocations: 0 / 0.6276 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.5935, allocations: 8 kB / 0.6276 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5935, allocations: 3.125 kB / 0.6276 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5935, allocations: 0 / 0.6276 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.5939, allocations: 273.4 kB / 0.6278 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.5941, allocations: 136.6 kB / 0.628 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.5941, allocations: 0 / 0.628 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.5945, allocations: 31.95 kB / 0.628 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.5946, allocations: 8 kB / 0.628 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.5946, allocations: 13.42 kB / 0.628 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004303/0.595, allocations: 323.1 kB / 0.6283 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.595, allocations: 0 / 0.6283 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006579/0.5957, allocations: 191.7 kB / 0.6285 GB, free: 9.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0003738/0.5961, allocations: 141.9 kB / 0.6286 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007281/0.5968, allocations: 326.2 kB / 0.6289 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5968, allocations: 0 / 0.6289 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.597, allocations: 55.89 kB / 0.629 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.598, allocations: 176.4 kB / 0.6292 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.599, allocations: 0.7196 MB / 0.6299 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.5994, allocations: 0.8113 MB / 0.6307 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.5998, allocations: 95.2 kB / 0.6308 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.5999, allocations: 27.44 kB / 0.6308 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.5999, allocations: 0 / 0.6308 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of Templates: time 0.01194/0.6118, allocations: 6.955 MB / 0.6376 GB, free: 0.7227 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe 2>&1)