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.0007919/0.0007919, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009123/0.0009126, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4304/0.4304, allocations: 55.02 MB / 325.4 MB, free: 0.7344 MB / 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.0006097/0.0006097, allocations: 23.98 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4548, allocations: 60.71 MB / 457.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.2115/0.6663, allocations: 154 MB / 0.597 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008552/0.675, allocations: 6.656 MB / 0.6035 GB, free: 6.598 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.6756, allocations: 11.94 kB / 0.6035 GB, free: 6.586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009349/0.6765, allocations: 198.8 kB / 0.6037 GB, free: 6.391 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001612/0.6782, allocations: 407.6 kB / 0.6041 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.6797, allocations: 401.9 kB / 0.6045 GB, free: 5.605 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.6815, allocations: 1.251 MB / 0.6057 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/0.6822, allocations: 268.6 kB / 0.606 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.6836, allocations: 485.9 kB / 0.6064 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.6843, allocations: 314.8 kB / 0.6067 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.6844, allocations: 16 kB / 0.6067 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.6854, allocations: 435.3 kB / 0.6072 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.6857, allocations: 151.6 kB / 0.6073 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.6859, allocations: 123.1 kB / 0.6074 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007826/0.6867, allocations: 0.5183 MB / 0.6079 GB, free: 2.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.6867, allocations: 0 / 0.6079 GB, free: 2.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6868, allocations: 0 / 0.6079 GB, free: 2.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.6868, allocations: 0 / 0.6079 GB, free: 2.07 MB / 478.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.001431/0.6882, allocations: 0.6684 MB / 0.6086 GB, free: 1.355 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6883, allocations: 12.03 kB / 0.6086 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.6887, allocations: 57.23 kB / 0.6086 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.6893, allocations: 329.3 kB / 0.609 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.6893, allocations: 25 kB / 0.609 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.6894, allocations: 32 kB / 0.609 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.6905, allocations: 0.4915 MB / 0.6095 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.6905, allocations: 0 / 0.6095 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.6906, allocations: 16 kB / 0.6095 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6906, allocations: 12 kB / 0.6095 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.6915, allocations: 334.4 kB / 0.6098 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.6947, allocations: 2.002 MB / 0.6118 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.6952, allocations: 123.8 kB / 0.6119 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.6953, allocations: 64.91 kB / 0.612 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.6954, allocations: 0 / 0.612 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.6954, allocations: 34.56 kB / 0.612 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.6954, allocations: 0 / 0.612 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009649/0.6964, allocations: 270 kB / 0.6123 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.6965, allocations: 56.25 kB / 0.6123 GB, free: 13.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.697, allocations: 457.8 kB / 0.6128 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.6971, allocations: 25.7 kB / 0.6128 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.6973, allocations: 251.1 kB / 0.613 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.6973, allocations: 39.55 kB / 0.6131 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.6973, allocations: 8 kB / 0.6131 GB, free: 12.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6975, allocations: 338.8 kB / 0.6134 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6977, allocations: 91.92 kB / 0.6135 GB, free: 12.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.6981, allocations: 233.9 kB / 0.6137 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.6984, allocations: 127.2 kB / 0.6138 GB, free: 11.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6984, allocations: 11.77 kB / 0.6138 GB, free: 11.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007207/0.6991, allocations: 357.4 kB / 0.6142 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.6994, allocations: 224.9 kB / 0.6144 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6994, allocations: 4 kB / 0.6144 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.6994, allocations: 4.5 kB / 0.6144 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.6997, allocations: 75.83 kB / 0.6145 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.6997, allocations: 8 kB / 0.6145 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.7002, allocations: 67.5 kB / 0.6145 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.7002, allocations: 17.92 kB / 0.6146 GB, free: 10.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.7002, allocations: 4 kB / 0.6146 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005012/0.7007, allocations: 268.6 kB / 0.6148 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.7008, allocations: 4 kB / 0.6148 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.7008, allocations: 4 kB / 0.6148 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.701, allocations: 68.41 kB / 0.6149 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.701, allocations: 11.94 kB / 0.6149 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.7013, allocations: 51.56 kB / 0.6149 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.7014, allocations: 19.94 kB / 0.615 GB, free: 10.41 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.7016, allocations: 256.9 kB / 0.6152 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.7017, allocations: 35.62 kB / 0.6152 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.7018, allocations: 32.22 kB / 0.6153 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7018, allocations: 4 kB / 0.6153 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.7018, allocations: 0 / 0.6153 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7018, allocations: 0 / 0.6153 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009023/0.7027, allocations: 0.5897 MB / 0.6159 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7027, allocations: 0.9375 kB / 0.6159 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.7029, allocations: 39.97 kB / 0.6159 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7029, allocations: 0 / 0.6159 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.7029, allocations: 4 kB / 0.6159 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7029, allocations: 4 kB / 0.6159 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7029, allocations: 0 / 0.6159 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.7034, allocations: 297 kB / 0.6162 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.7036, allocations: 136.6 kB / 0.6163 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.7037, allocations: 4 kB / 0.6163 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.704, allocations: 35.95 kB / 0.6164 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.704, allocations: 11.89 kB / 0.6164 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.7041, allocations: 15.98 kB / 0.6164 GB, free: 8.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003935/0.7045, allocations: 315.1 kB / 0.6167 GB, free: 8.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7045, allocations: 4 kB / 0.6167 GB, free: 8.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000764/0.7053, allocations: 191.7 kB / 0.6169 GB, free: 8.352 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/0.7058, allocations: 133.3 kB / 0.617 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.7066, allocations: 340.4 kB / 0.6173 GB, free: 7.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7066, allocations: 0 / 0.6173 GB, free: 7.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.7068, allocations: 65.09 kB / 0.6174 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.7078, allocations: 196 kB / 0.6176 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.7091, allocations: 0.7279 MB / 0.6183 GB, free: 6.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.7096, allocations: 0.8038 MB / 0.6191 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004503/0.7101, allocations: 95.91 kB / 0.6192 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.7101, allocations: 27.44 kB / 0.6192 GB, free: 5.938 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.7102, allocations: 0 / 0.6192 GB, free: 5.938 MB / 494.1 MB Notification: Performance of Templates: time 0.01504/0.7252, allocations: 6.586 MB / 0.6256 GB, free: 15.45 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: