Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001258/0.001258, allocations: 172.7 kB / 15.95 MB, free: 208 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.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4635/0.4635, allocations: 55.01 MB / 325.4 MB, free: 0.707 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.0008328/0.0008332, allocations: 20 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.433, allocations: 60.71 MB / 457.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Velocity): time 0.1956/0.6286, allocations: 152.1 MB / 0.5952 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.6316, allocations: 1.437 MB / 0.5966 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.6319, allocations: 11.94 kB / 0.5966 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.6325, allocations: 158.9 kB / 0.5968 GB, free: 13.53 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.001447/0.634, allocations: 493.5 kB / 0.5972 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.6356, allocations: 0.499 MB / 0.5977 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.6371, allocations: 1.256 MB / 0.5989 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.6375, allocations: 255.9 kB / 0.5992 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.6387, allocations: 486.1 kB / 0.5997 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/0.6392, allocations: 334.8 kB / 0.6 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.6392, allocations: 20 kB / 0.6 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009444/0.6402, allocations: 355.2 kB / 0.6003 GB, free: 9.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.6404, allocations: 159.6 kB / 0.6005 GB, free: 9.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.6405, allocations: 121.5 kB / 0.6006 GB, free: 9.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.6412, allocations: 0.5806 MB / 0.6012 GB, free: 9.008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6412, allocations: 0.8438 kB / 0.6012 GB, free: 9.008 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6412, allocations: 0 / 0.6012 GB, free: 9.008 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.6412, allocations: 0 / 0.6012 GB, free: 9.008 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001214/0.6424, allocations: 0.7151 MB / 0.6019 GB, free: 8.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6425, allocations: 8.031 kB / 0.6019 GB, free: 8.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.6435, allocations: 145.1 kB / 0.602 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.644, allocations: 356.8 kB / 0.6023 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.6441, allocations: 29 kB / 0.6024 GB, free: 7.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.6441, allocations: 32 kB / 0.6024 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.6448, allocations: 431.9 kB / 0.6028 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6449, allocations: 0 / 0.6028 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.6449, allocations: 23.95 kB / 0.6028 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.6449, allocations: 12.56 kB / 0.6029 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/0.6455, allocations: 319.8 kB / 0.6032 GB, free: 6.867 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.6477, allocations: 1.509 MB / 0.6046 GB, free: 5.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.648, allocations: 146.4 kB / 0.6048 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.6482, allocations: 88.81 kB / 0.6049 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.6485, allocations: 129 kB / 0.605 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.6486, allocations: 39.88 kB / 0.605 GB, free: 4.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.6486, allocations: 0 / 0.605 GB, free: 4.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006414/0.6492, allocations: 306.7 kB / 0.6053 GB, free: 4.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6493, allocations: 51.41 kB / 0.6054 GB, free: 4.438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.6498, allocations: 449.8 kB / 0.6058 GB, free: 3.988 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.6498, allocations: 29.7 kB / 0.6058 GB, free: 3.953 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.65, allocations: 235.5 kB / 0.606 GB, free: 3.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.6501, allocations: 59.19 kB / 0.6061 GB, free: 3.656 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.6501, allocations: 8 kB / 0.6061 GB, free: 3.648 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6502, allocations: 350.8 kB / 0.6064 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.6504, allocations: 88.5 kB / 0.6065 GB, free: 3.211 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.6507, allocations: 170.5 kB / 0.6067 GB, free: 3.012 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.6509, allocations: 117.8 kB / 0.6068 GB, free: 2.898 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.6509, allocations: 0 / 0.6068 GB, free: 2.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005545/0.6515, allocations: 348.8 kB / 0.6071 GB, free: 2.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6515, allocations: 4 kB / 0.6071 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6515, allocations: 4 kB / 0.6071 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6515, allocations: 8.25 kB / 0.6071 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.6518, allocations: 59.91 kB / 0.6072 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.6518, allocations: 7.984 kB / 0.6072 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.6521, allocations: 55.52 kB / 0.6073 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.6521, allocations: 12 kB / 0.6073 GB, free: 2.406 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001805/0.6523, allocations: 169.8 kB / 0.6074 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.6524, allocations: 55.41 kB / 0.6075 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.6529, allocations: 242.7 kB / 0.6077 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6529, allocations: 8 kB / 0.6077 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6529, allocations: 0 / 0.6077 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6529, allocations: 7.922 kB / 0.6077 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.654, allocations: 0.7451 MB / 0.6085 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.654, allocations: 4 kB / 0.6085 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.6542, allocations: 35.97 kB / 0.6085 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6542, allocations: 0 / 0.6085 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.6542, allocations: 9.062 kB / 0.6085 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6543, allocations: 8.75 kB / 0.6085 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6543, allocations: 4 kB / 0.6085 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.655, allocations: 478.7 kB / 0.609 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.6551, allocations: 148.6 kB / 0.6091 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.6552, allocations: 8 kB / 0.6091 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.6555, allocations: 28.03 kB / 0.6092 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.6556, allocations: 15.98 kB / 0.6092 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.6556, allocations: 17.38 kB / 0.6092 GB, free: 316 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.6559, allocations: 311.1 kB / 0.6095 GB, free: 8 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.656, allocations: 0 / 0.6095 GB, free: 8 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.6565, allocations: 119.9 kB / 0.6096 GB, free: 15.89 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * 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 (16): * Single equations (assignments): 16 * 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.000436/0.6569, allocations: 157 kB / 0.6098 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004893/0.6574, allocations: 227.6 kB / 0.61 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6574, allocations: 0 / 0.61 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.6576, allocations: 104.4 kB / 0.6101 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.6588, allocations: 223.1 kB / 0.6103 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.6601, allocations: 0.9094 MB / 0.6112 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.6605, allocations: 0.8152 MB / 0.612 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.6609, allocations: 81.31 kB / 0.612 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.661, allocations: 31.44 kB / 0.6121 GB, free: 13.3 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.661, allocations: 0 / 0.6121 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Templates: time 0.0153/0.6763, allocations: 7.695 MB / 0.6196 GB, free: 5.746 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: