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.001537/0.001537, allocations: 101.4 kB / 15.7 MB, free: 28 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.001822/0.001822, allocations: 197 kB / 16.64 MB, free: 6.438 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4083/0.4083, allocations: 54.95 MB / 324.8 MB, free: 15.89 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.001456/0.001456, allocations: 71.89 kB / 396.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3658, allocations: 59.58 MB / 455.7 MB, free: 40.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.2279/0.5937, allocations: 169.4 MB / 0.6105 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00891/0.6027, allocations: 7.196 MB / 0.6175 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.6034, allocations: 11.94 kB / 0.6175 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.6046, allocations: 290.3 kB / 0.6178 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.6059, allocations: 483 kB / 0.6183 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.6073, allocations: 487.9 kB / 0.6187 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.6086, allocations: 1.042 MB / 0.6197 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.6091, allocations: 347.7 kB / 0.6201 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.6101, allocations: 0.568 MB / 0.6206 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.6106, allocations: 315.9 kB / 0.6209 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.6107, allocations: 36 kB / 0.621 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000942/0.6116, allocations: 499.2 kB / 0.6214 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.6118, allocations: 175.5 kB / 0.6216 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.6121, allocations: 250.9 kB / 0.6218 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.6132, allocations: 0.7206 MB / 0.6225 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6132, allocations: 0 / 0.6225 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6132, allocations: 0 / 0.6225 GB, free: 1.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.6133, allocations: 0 / 0.6225 GB, free: 1.598 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.00166/0.6149, allocations: 0.7494 MB / 0.6233 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.615, allocations: 12.03 kB / 0.6233 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.6153, allocations: 60.12 kB / 0.6233 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.6159, allocations: 349.1 kB / 0.6237 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.6159, allocations: 25 kB / 0.6237 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.616, allocations: 32 kB / 0.6237 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.6171, allocations: 490.7 kB / 0.6242 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.6171, allocations: 0.8438 kB / 0.6242 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.6172, allocations: 27.91 kB / 0.6242 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.6172, allocations: 12 kB / 0.6242 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.618, allocations: 314.3 kB / 0.6245 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.6213, allocations: 1.982 MB / 0.6265 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.6217, allocations: 106.4 kB / 0.6266 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.6219, allocations: 52.92 kB / 0.6266 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.6219, allocations: 0 / 0.6266 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.622, allocations: 38.55 kB / 0.6267 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.622, allocations: 0.9375 kB / 0.6267 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001078/0.6231, allocations: 237 kB / 0.6269 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.6232, allocations: 59.34 kB / 0.6269 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.6238, allocations: 449.8 kB / 0.6274 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.6239, allocations: 37.64 kB / 0.6274 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.6242, allocations: 251.2 kB / 0.6277 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.6242, allocations: 35.53 kB / 0.6277 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.6244, allocations: 61.61 kB / 0.6277 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002426/0.6246, allocations: 342.8 kB / 0.6281 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.6249, allocations: 92.8 kB / 0.6282 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.6252, allocations: 222.5 kB / 0.6284 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.6258, allocations: 293.2 kB / 0.6287 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6259, allocations: 4 kB / 0.6287 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007198/0.6266, allocations: 341.3 kB / 0.629 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6266, allocations: 8 kB / 0.629 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6267, allocations: 11.92 kB / 0.629 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.6267, allocations: 8.438 kB / 0.629 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.627, allocations: 69.66 kB / 0.6291 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.627, allocations: 13.11 kB / 0.6291 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.6275, allocations: 59.41 kB / 0.6291 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.6275, allocations: 12 kB / 0.6292 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003158/0.6278, allocations: 204.1 kB / 0.6294 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002585/0.6281, allocations: 210.5 kB / 0.6296 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003765/0.6285, allocations: 273.1 kB / 0.6298 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.582e-06/0.6285, allocations: 0 / 0.6298 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.000553/0.629, allocations: 318.6 kB / 0.6301 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.6291, allocations: 11.94 kB / 0.6301 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6291, allocations: 4 kB / 0.6301 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.6291, allocations: 4 kB / 0.6301 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.6293, allocations: 59.91 kB / 0.6302 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6293, allocations: 15.92 kB / 0.6302 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.6296, allocations: 32.08 kB / 0.6302 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.6297, allocations: 21.31 kB / 0.6303 GB, free: 9.109 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.0001389/0.6298, allocations: 197.1 kB / 0.6304 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.709e-05/0.6299, allocations: 43.45 kB / 0.6305 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.455e-05/0.63, allocations: 39.22 kB / 0.6305 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.63, allocations: 0 / 0.6305 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.63, allocations: 0 / 0.6305 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.63, allocations: 0 / 0.6305 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.6309, allocations: 0.5663 MB / 0.6311 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6309, allocations: 0 / 0.6311 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.631, allocations: 36.97 kB / 0.6311 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.631, allocations: 0 / 0.6311 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6311, allocations: 0 / 0.6311 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.6311, allocations: 1.016 kB / 0.6311 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6311, allocations: 8.062 kB / 0.6311 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.6316, allocations: 272.6 kB / 0.6314 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.6317, allocations: 136.5 kB / 0.6315 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.6318, allocations: 12.81 kB / 0.6315 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.6321, allocations: 23.91 kB / 0.6315 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.6322, allocations: 7.984 kB / 0.6316 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.6323, allocations: 11.98 kB / 0.6316 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003604/0.6326, allocations: 319.1 kB / 0.6319 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6326, allocations: 0 / 0.6319 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007042/0.6333, allocations: 195.8 kB / 0.6321 GB, free: 7.16 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.000534/0.6339, allocations: 135 kB / 0.6322 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007862/0.6347, allocations: 324.9 kB / 0.6325 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6347, allocations: 0 / 0.6325 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.6349, allocations: 49.09 kB / 0.6325 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009727/0.6359, allocations: 180.4 kB / 0.6327 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.637, allocations: 0.61 MB / 0.6333 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.6375, allocations: 0.8074 MB / 0.6341 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.6378, allocations: 91.2 kB / 0.6342 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.6379, allocations: 31.44 kB / 0.6342 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.6379, allocations: 0 / 0.6342 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of Templates: time 0.2844/0.9223, allocations: 7.027 MB / 0.6411 GB, free: 161.3 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)