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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 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.00197/0.00197, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.602/1.602, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4422/0.4422, allocations: 54.95 MB / 324.7 MB, free: 44 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.001487/0.001487, allocations: 67.91 kB / 395.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1434, allocations: 59.59 MB / 455 MB, free: 108 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.4324/0.5759, allocations: 169.4 MB / 0.6098 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008579/0.5845, allocations: 7.189 MB / 0.6168 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.5852, allocations: 11.94 kB / 0.6169 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.5863, allocations: 294.2 kB / 0.6171 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.5877, allocations: 477.6 kB / 0.6176 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.5893, allocations: 493.8 kB / 0.6181 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.5905, allocations: 1.033 MB / 0.6191 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.591, allocations: 357.8 kB / 0.6194 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.5921, allocations: 0.5642 MB / 0.62 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.5925, allocations: 318.7 kB / 0.6203 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.5926, allocations: 36 kB / 0.6203 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008498/0.5935, allocations: 487.2 kB / 0.6208 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.5937, allocations: 188.4 kB / 0.6209 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.5939, allocations: 247 kB / 0.6212 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008524/0.5948, allocations: 0.7089 MB / 0.6219 GB, free: 1.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5948, allocations: 0 / 0.6219 GB, free: 1.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5948, allocations: 0 / 0.6219 GB, free: 1.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.5948, allocations: 0 / 0.6219 GB, free: 1.527 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.001381/0.5962, allocations: 0.7455 MB / 0.6226 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5963, allocations: 12.03 kB / 0.6226 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.5966, allocations: 63.45 kB / 0.6227 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.5971, allocations: 337.1 kB / 0.623 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.5971, allocations: 31.8 kB / 0.623 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.5972, allocations: 32 kB / 0.6231 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/0.5981, allocations: 483.4 kB / 0.6235 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5982, allocations: 3.938 kB / 0.6235 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.5982, allocations: 23.94 kB / 0.6235 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.5982, allocations: 8 kB / 0.6236 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.599, allocations: 314.3 kB / 0.6239 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.6014, allocations: 1.994 MB / 0.6258 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.6018, allocations: 115.2 kB / 0.6259 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.6019, allocations: 48.92 kB / 0.626 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.602, allocations: 0 / 0.626 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.602, allocations: 38.5 kB / 0.626 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.602, allocations: 0 / 0.626 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0008971/0.6029, allocations: 230.1 kB / 0.6262 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.603, allocations: 59.34 kB / 0.6263 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.6034, allocations: 461.7 kB / 0.6267 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.6035, allocations: 27.02 kB / 0.6267 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.6037, allocations: 255.1 kB / 0.627 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.6037, allocations: 39.55 kB / 0.627 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.6038, allocations: 57.61 kB / 0.6271 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6039, allocations: 342.8 kB / 0.6274 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.6042, allocations: 92.8 kB / 0.6275 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.6045, allocations: 221.9 kB / 0.6277 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.605, allocations: 295.2 kB / 0.628 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.605, allocations: 0 / 0.628 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000651/0.6056, allocations: 346 kB / 0.6283 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6057, allocations: 8 kB / 0.6283 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6057, allocations: 7.938 kB / 0.6283 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6057, allocations: 8.5 kB / 0.6283 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.606, allocations: 71.89 kB / 0.6284 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.606, allocations: 12.69 kB / 0.6284 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.6064, allocations: 55.42 kB / 0.6285 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.6064, allocations: 16 kB / 0.6285 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002681/0.6067, allocations: 200.1 kB / 0.6287 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002362/0.6069, allocations: 210.5 kB / 0.6289 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003573/0.6073, allocations: 270.9 kB / 0.6291 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.6073, allocations: 0.7031 kB / 0.6291 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005207/0.6078, allocations: 321 kB / 0.6294 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.6078, allocations: 12.97 kB / 0.6294 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6079, allocations: 8.484 kB / 0.6295 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.752e-06/0.6079, allocations: 8 kB / 0.6295 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.6081, allocations: 59.91 kB / 0.6295 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6081, allocations: 7.938 kB / 0.6295 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.6084, allocations: 28.64 kB / 0.6296 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.6084, allocations: 16.25 kB / 0.6296 GB, free: 9.055 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.0001361/0.6086, allocations: 201.1 kB / 0.6298 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.6086, allocations: 43.47 kB / 0.6298 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/0.6087, allocations: 39.14 kB / 0.6298 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6087, allocations: 0 / 0.6298 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6087, allocations: 0.75 kB / 0.6298 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6087, allocations: 0 / 0.6298 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008306/0.6096, allocations: 0.5715 MB / 0.6304 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6096, allocations: 0 / 0.6304 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6097, allocations: 23.98 kB / 0.6304 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.6097, allocations: 0 / 0.6304 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6098, allocations: 7.938 kB / 0.6304 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6098, allocations: 6.031 kB / 0.6304 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6098, allocations: 0.75 kB / 0.6304 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.6102, allocations: 273.7 kB / 0.6307 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.6104, allocations: 144.5 kB / 0.6308 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.6104, allocations: 0 / 0.6308 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.6108, allocations: 27.97 kB / 0.6309 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.6108, allocations: 7.938 kB / 0.6309 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.6109, allocations: 15.98 kB / 0.6309 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003176/0.6112, allocations: 319.1 kB / 0.6312 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6112, allocations: 3.938 kB / 0.6312 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006433/0.6118, allocations: 187.8 kB / 0.6314 GB, free: 7.105 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.000408/0.6123, allocations: 141.3 kB / 0.6315 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007367/0.613, allocations: 325.9 kB / 0.6318 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.613, allocations: 0 / 0.6318 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.6132, allocations: 53.08 kB / 0.6319 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.6142, allocations: 185.9 kB / 0.632 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.6153, allocations: 0.614 MB / 0.6326 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.6157, allocations: 0.8035 MB / 0.6334 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003777/0.616, allocations: 91.2 kB / 0.6335 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.6161, allocations: 31.42 kB / 0.6335 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.6161, allocations: 0 / 0.6335 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.2369/0.853, allocations: 7.036 MB / 0.6404 GB, free: 160.1 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)