Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009198/0.009202, allocations: 159 kB / 15.11 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.755/1.755, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00181/0.00181, allocations: 109.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4503/0.4503, allocations: 38.05 MB / 303.7 MB, free: 42.73 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.0006633, allocations: 8 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1117, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.3315/0.4432, allocations: 39.2 MB / 450.9 MB, free: 30.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.4658, allocations: 14.46 MB / 465.4 MB, free: 20.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.4668, allocations: 21.69 kB / 465.4 MB, free: 20.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.468, allocations: 236.3 kB / 465.6 MB, free: 20.22 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01489/0.4829, allocations: 3.607 MB / 469.2 MB, free: 18.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006704/0.4896, allocations: 1.619 MB / 470.8 MB, free: 17.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.4917, allocations: 1.319 MB / 472.2 MB, free: 17.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006939/0.4924, allocations: 286.2 kB / 472.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.4938, allocations: 475 kB / 472.9 MB, free: 16.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.4946, allocations: 356.1 kB / 473.3 MB, free: 16.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.4947, allocations: 21.28 kB / 473.3 MB, free: 16.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01921/0.5139, allocations: 6.87 MB / 480.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.5142, allocations: 104.5 kB / 480.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.5145, allocations: 130.1 kB / 480.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008506/0.523, allocations: 3.07 MB / 483.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.5231, allocations: 0 / 483.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5231, allocations: 3.938 kB / 483.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.5231, allocations: 1.188 kB / 483.5 MB, free: 13.98 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005361/0.5285, allocations: 1.245 MB / 484.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5286, allocations: 13.38 kB / 484.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.5288, allocations: 80.55 kB / 484.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.5319, allocations: 268.3 kB / 485.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.533, allocations: 420.7 kB / 485.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.5331, allocations: 34.84 kB / 485.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.5332, allocations: 37.12 kB / 485.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.5358, allocations: 0.6922 MB / 486.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.5359, allocations: 0 / 486.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/0.536, allocations: 18.09 kB / 486.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.536, allocations: 10.25 kB / 486.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.5387, allocations: 0.6145 MB / 486.9 MB, free: 11.73 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.5433, allocations: 2.878 MB / 489.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.5455, allocations: 450.1 kB / 490.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.5462, allocations: 181 kB / 490.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3394/0.8855, allocations: 82.63 MB / 0.5596 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.8856, allocations: 34.56 kB / 0.5596 GB, free: 3.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.846e-06/0.8857, allocations: 0 / 0.5596 GB, free: 3.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.005015/0.8907, allocations: 0.932 MB / 0.5605 GB, free: 2.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.8908, allocations: 106.8 kB / 0.5606 GB, free: 2.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/0.8916, allocations: 349.5 kB / 0.5609 GB, free: 2.281 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.8917, allocations: 29.7 kB / 0.561 GB, free: 2.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.892, allocations: 263.8 kB / 0.5612 GB, free: 1.984 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.8922, allocations: 106.5 kB / 0.5613 GB, free: 1.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.8923, allocations: 8 kB / 0.5613 GB, free: 1.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.8925, allocations: 350.8 kB / 0.5617 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/0.8933, allocations: 136.8 kB / 0.5618 GB, free: 1.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009346/0.8943, allocations: 287.1 kB / 0.5621 GB, free: 1.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.8952, allocations: 173.8 kB / 0.5622 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.8952, allocations: 0 / 0.5622 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002349/0.8975, allocations: 0.4949 MB / 0.5627 GB, free: 376 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.8978, allocations: 221.8 kB / 0.5629 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.8978, allocations: 11.98 kB / 0.5629 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/0.9032, allocations: 228.5 kB / 0.5632 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9043, allocations: 110.2 kB / 0.5633 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.9054, allocations: 0.603 MB / 0.5639 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009839/0.9064, allocations: 63.64 kB / 0.5639 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.9065, allocations: 23.98 kB / 0.5639 GB, free: 15.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9066, allocations: 4 kB / 0.5639 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002184/0.9088, allocations: 411.9 kB / 0.5643 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.9088, allocations: 8 kB / 0.5643 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.9089, allocations: 12 kB / 0.5644 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.91, allocations: 111.9 kB / 0.5645 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/0.91, allocations: 11.94 kB / 0.5645 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/0.9109, allocations: 63.59 kB / 0.5645 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.911, allocations: 20 kB / 0.5645 GB, free: 14.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005271/0.9115, allocations: 250 kB / 0.5648 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.9117, allocations: 43.48 kB / 0.5648 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00551/0.9172, allocations: 1.989 MB / 0.5668 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-05/0.9173, allocations: 31.89 kB / 0.5668 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.9174, allocations: 0 / 0.5668 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.9174, allocations: 3.984 kB / 0.5668 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.9197, allocations: 0.9869 MB / 0.5678 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.9197, allocations: 3.953 kB / 0.5678 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/0.9204, allocations: 71.94 kB / 0.5678 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/0.9233, allocations: 0.5837 MB / 0.5684 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.9234, allocations: 8 kB / 0.5684 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.925, allocations: 1.014 MB / 0.5694 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.925, allocations: 0 / 0.5694 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.9282, allocations: 1.298 MB / 0.5707 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.9288, allocations: 247.4 kB / 0.5709 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.9289, allocations: 8 kB / 0.5709 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.9296, allocations: 35.88 kB / 0.571 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.9297, allocations: 31.89 kB / 0.571 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.9298, allocations: 16 kB / 0.571 GB, free: 7.645 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006694/0.9305, allocations: 306.9 kB / 0.5713 GB, free: 7.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9305, allocations: 0 / 0.5713 GB, free: 7.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01301/0.9435, allocations: 1.147 MB / 0.5724 GB, free: 6.195 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02112/0.9647, allocations: 2.762 MB / 0.5751 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0157/0.9804, allocations: 0.8002 MB / 0.5759 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.9805, allocations: 0 / 0.5759 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.982, allocations: 488.8 kB / 0.5764 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.9848, allocations: 218 kB / 0.5766 GB, free: 1.918 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4725/1.457, allocations: 81.14 MB / 0.6558 GB, free: 90.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/1.458, allocations: 0.9994 MB / 0.6568 GB, free: 89.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001285/1.459, allocations: 0.5219 MB / 0.6573 GB, free: 89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/1.46, allocations: 279.3 kB / 0.6576 GB, free: 88.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.46, allocations: 0 / 0.6576 GB, free: 88.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.569, allocations: 47.75 MB / 0.7042 GB, free: 41.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.569, allocations: 260.8 kB / 0.7044 GB, free: 40.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.96/7.53, allocations: 1.312 kB / 0.7044 GB, free: 40.74 MB / 426.7 MB