Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 91.3 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.0008574/0.0008572, 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.644/1.644, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4695/0.4695, allocations: 55.02 MB / 325.4 MB, free: 0.6484 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.0006337/0.0006338, allocations: 12 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3909, allocations: 60.72 MB / 457.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1909/0.582, allocations: 152.1 MB / 0.5951 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.585, allocations: 1.43 MB / 0.5965 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.5854, allocations: 11.94 kB / 0.5966 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007215/0.5861, allocations: 160.2 kB / 0.5967 GB, free: 13.55 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.001227/0.5873, allocations: 489.5 kB / 0.5972 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.5889, allocations: 0.4991 MB / 0.5977 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.5904, allocations: 1.228 MB / 0.5989 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.5909, allocations: 257.4 kB / 0.5991 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.5921, allocations: 482.1 kB / 0.5996 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.5926, allocations: 322.8 kB / 0.5999 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.5926, allocations: 24 kB / 0.5999 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5937, allocations: 347.2 kB / 0.6002 GB, free: 9.941 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.5939, allocations: 163.5 kB / 0.6004 GB, free: 9.781 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.594, allocations: 117.5 kB / 0.6005 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.5948, allocations: 0.5767 MB / 0.6011 GB, free: 9.082 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5948, allocations: 0 / 0.6011 GB, free: 9.082 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5948, allocations: 1.219 kB / 0.6011 GB, free: 9.082 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.5949, allocations: 4 kB / 0.6011 GB, free: 9.078 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.00128/0.5961, allocations: 0.6956 MB / 0.6017 GB, free: 8.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5962, allocations: 8.031 kB / 0.6017 GB, free: 8.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5973, allocations: 155.3 kB / 0.6019 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.5978, allocations: 340.9 kB / 0.6022 GB, free: 7.801 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.5978, allocations: 25 kB / 0.6022 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.5979, allocations: 32 kB / 0.6023 GB, free: 7.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.5987, allocations: 439.8 kB / 0.6027 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5987, allocations: 0 / 0.6027 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.5988, allocations: 12 kB / 0.6027 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5988, allocations: 8 kB / 0.6027 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.5994, allocations: 313.1 kB / 0.603 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.6017, allocations: 1.497 MB / 0.6045 GB, free: 5.363 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.602, allocations: 140.5 kB / 0.6046 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.6022, allocations: 84.81 kB / 0.6047 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/0.6026, allocations: 133 kB / 0.6048 GB, free: 4.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.6026, allocations: 38.56 kB / 0.6049 GB, free: 4.938 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.6027, allocations: 0 / 0.6049 GB, free: 4.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006841/0.6033, allocations: 281.4 kB / 0.6051 GB, free: 4.656 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.6034, allocations: 59.41 kB / 0.6052 GB, free: 4.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.604, allocations: 437.8 kB / 0.6056 GB, free: 4.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.604, allocations: 29.7 kB / 0.6056 GB, free: 4.113 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.6042, allocations: 231.5 kB / 0.6058 GB, free: 3.883 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.6043, allocations: 51.3 kB / 0.6059 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.6043, allocations: 8 kB / 0.6059 GB, free: 3.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.6045, allocations: 348 kB / 0.6062 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.6047, allocations: 91.94 kB / 0.6063 GB, free: 3.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.605, allocations: 158.7 kB / 0.6065 GB, free: 3.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.6052, allocations: 122 kB / 0.6066 GB, free: 3.082 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6052, allocations: 4 kB / 0.6066 GB, free: 3.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005774/0.6058, allocations: 322.1 kB / 0.6069 GB, free: 2.758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6059, allocations: 4.25 kB / 0.6069 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6059, allocations: 8 kB / 0.6069 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6059, allocations: 4 kB / 0.6069 GB, free: 2.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.6062, allocations: 63.91 kB / 0.607 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.6062, allocations: 4.859 kB / 0.607 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.6066, allocations: 55.52 kB / 0.607 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6066, allocations: 8 kB / 0.607 GB, free: 2.613 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 (31): * Single equations (assignments): 31 * 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.0002037/0.6068, allocations: 178.7 kB / 0.6072 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.6069, allocations: 40.41 kB / 0.6073 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.6074, allocations: 242.8 kB / 0.6075 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.6074, allocations: 4 kB / 0.6075 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6074, allocations: 0 / 0.6075 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6074, allocations: 0 / 0.6075 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.6085, allocations: 0.7256 MB / 0.6082 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6085, allocations: 0 / 0.6082 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.6087, allocations: 36.98 kB / 0.6082 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6087, allocations: 4 kB / 0.6082 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6087, allocations: 8.188 kB / 0.6082 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6087, allocations: 7.922 kB / 0.6082 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.6087, allocations: 5.797 kB / 0.6083 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.6095, allocations: 466.8 kB / 0.6087 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.6098, allocations: 144.6 kB / 0.6088 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.6098, allocations: 4.062 kB / 0.6088 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.6102, allocations: 28.84 kB / 0.6089 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.6102, allocations: 23.88 kB / 0.6089 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.6103, allocations: 11.98 kB / 0.6089 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003866/0.6107, allocations: 307.1 kB / 0.6092 GB, free: 280 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6107, allocations: 4 kB / 0.6092 GB, free: 276 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.6112, allocations: 111.8 kB / 0.6093 GB, free: 164 kB / 478.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 (14): * Single equations (assignments): 14 * 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.0004513/0.6117, allocations: 149.1 kB / 0.6094 GB, free: 8 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.6122, allocations: 216.9 kB / 0.6097 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6122, allocations: 4.062 kB / 0.6097 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.6124, allocations: 91.83 kB / 0.6097 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6137, allocations: 236.4 kB / 0.61 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.6152, allocations: 0.8613 MB / 0.6108 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.6157, allocations: 0.8155 MB / 0.6116 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000384/0.6161, allocations: 75.31 kB / 0.6117 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.6162, allocations: 31.44 kB / 0.6117 GB, free: 13.64 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6162, allocations: 0 / 0.6117 GB, free: 13.64 MB / 494.1 MB Notification: Performance of Templates: time 0.01478/0.631, allocations: 7.625 MB / 0.6192 GB, free: 6.148 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: