Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",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.009788/0.009793, allocations: 164.4 kB / 15.12 MB, free: 5.957 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.685/1.685, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001766/0.001766, allocations: 102.8 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.4383/0.4383, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006328/0.0006331, allocations: 8 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.102, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.02388/0.1259, allocations: 15.89 MB / 427.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008301/0.1343, allocations: 4.12 MB / 431.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007304/0.135, allocations: 23.81 kB / 431.7 MB, free: 0.582 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009177/0.136, allocations: 210.7 kB / 431.9 MB, free: 384 kB / 330.7 MB [/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. [/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. [/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.2723/0.4083, allocations: 0.6605 MB / 432.6 MB, free: 31.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.4117, allocations: 0.7436 MB / 433.3 MB, free: 31.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.4146, allocations: 1.583 MB / 434.9 MB, free: 31.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.4157, allocations: 348 kB / 435.3 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.4173, allocations: 494.8 kB / 435.8 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.4186, allocations: 412.9 kB / 436.2 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.4188, allocations: 27.53 kB / 436.2 MB, free: 31.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.4209, allocations: 493.2 kB / 436.7 MB, free: 31.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.4215, allocations: 131.8 kB / 436.8 MB, free: 31.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.4219, allocations: 142 kB / 436.9 MB, free: 31.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.4239, allocations: 0.7422 MB / 437.7 MB, free: 31.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.424, allocations: 0 / 437.7 MB, free: 31.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.424, allocations: 0 / 437.7 MB, free: 31.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.4241, allocations: 0.8125 kB / 437.7 MB, free: 31.52 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002225/0.4263, allocations: 0.8779 MB / 438.6 MB, free: 30.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4264, allocations: 8.562 kB / 438.6 MB, free: 30.9 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.4266, allocations: 88 kB / 438.6 MB, free: 30.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.4271, allocations: 78.64 kB / 438.7 MB, free: 30.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.4281, allocations: 482.9 kB / 439.2 MB, free: 30.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.4282, allocations: 43.83 kB / 439.2 MB, free: 30.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.4283, allocations: 42.38 kB / 439.3 MB, free: 30.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.4297, allocations: 0.6341 MB / 439.9 MB, free: 30.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.4297, allocations: 8.828 kB / 439.9 MB, free: 30.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.4298, allocations: 20 kB / 439.9 MB, free: 30.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4298, allocations: 12.38 kB / 440 MB, free: 30.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.431, allocations: 0.5161 MB / 440.5 MB, free: 30.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.4359, allocations: 3.098 MB / 443.6 MB, free: 28.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.4364, allocations: 206.5 kB / 443.8 MB, free: 28.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.4367, allocations: 125.4 kB / 443.9 MB, free: 28.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.4386, allocations: 1.046 MB / 444.9 MB, free: 27.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.4391, allocations: 186.5 kB / 445.1 MB, free: 27.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.297e-06/0.4391, allocations: 0 / 445.1 MB, free: 27.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001023/0.4401, allocations: 402.2 kB / 445.5 MB, free: 27.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.4402, allocations: 164.6 kB / 445.7 MB, free: 27.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.4409, allocations: 496.6 kB / 446.2 MB, free: 27.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.441, allocations: 29.39 kB / 446.2 MB, free: 27.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.4413, allocations: 366.8 kB / 446.5 MB, free: 26.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.4414, allocations: 80.91 kB / 446.6 MB, free: 26.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.4415, allocations: 8.656 kB / 446.6 MB, free: 26.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4416, allocations: 361.1 kB / 447 MB, free: 26.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.4419, allocations: 116.2 kB / 447.1 MB, free: 26.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.4424, allocations: 407.3 kB / 447.5 MB, free: 26.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.4429, allocations: 211.1 kB / 447.7 MB, free: 26.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.4429, allocations: 3.5 kB / 447.7 MB, free: 26.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001487/0.4444, allocations: 0.6012 MB / 448.3 MB, free: 26.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.4447, allocations: 403.7 kB / 448.7 MB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.4448, allocations: 9.469 kB / 448.7 MB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/0.4448, allocations: 18.91 kB / 448.7 MB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.4473, allocations: 219.2 kB / 448.9 MB, free: 25.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005211/0.4478, allocations: 0.6186 MB / 449.6 MB, free: 24.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.4487, allocations: 79.56 kB / 449.6 MB, free: 24.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.4488, allocations: 36.36 kB / 449.7 MB, free: 24.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4488, allocations: 3.281 kB / 449.7 MB, free: 24.91 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/0.45, allocations: 0.5467 MB / 450.2 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.4501, allocations: 9.969 kB / 450.2 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4501, allocations: 12.88 kB / 450.3 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/0.4509, allocations: 131.2 kB / 450.4 MB, free: 24.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.4509, allocations: 19.62 kB / 450.4 MB, free: 24.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.4517, allocations: 60.27 kB / 450.5 MB, free: 24.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.4518, allocations: 38.31 kB / 450.5 MB, free: 24.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004997/0.4523, allocations: 306.1 kB / 450.8 MB, free: 24.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.4525, allocations: 54.39 kB / 450.8 MB, free: 24.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.4545, allocations: 0.6702 MB / 451.5 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.4546, allocations: 2.688 kB / 451.5 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4546, allocations: 3.984 kB / 451.5 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4546, allocations: 6.859 kB / 451.5 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.4555, allocations: 485.2 kB / 452 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.4556, allocations: 2.844 kB / 452 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.4567, allocations: 114.3 kB / 452.1 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.4567, allocations: 2.938 kB / 452.1 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.4568, allocations: 13.72 kB / 452.1 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003504/0.4572, allocations: 0.5906 MB / 452.7 MB, free: 23.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4572, allocations: 0 / 452.7 MB, free: 23.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.4581, allocations: 429.7 kB / 453.1 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.4585, allocations: 187.1 kB / 453.3 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4586, allocations: 10.34 kB / 453.3 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.459, allocations: 15.19 kB / 453.4 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.4591, allocations: 21.66 kB / 453.4 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.4591, allocations: 19.11 kB / 453.4 MB, free: 23.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005367/0.4597, allocations: 352.3 kB / 453.7 MB, free: 23.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.303e-06/0.4597, allocations: 0 / 453.7 MB, free: 23.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001739/0.4614, allocations: 392.5 kB / 454.1 MB, free: 23.11 MB / 330.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/0.4634, allocations: 1.16 MB / 455.3 MB, free: 22.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.4672, allocations: 0.8326 MB / 456.1 MB, free: 22.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4672, allocations: 4.062 kB / 456.1 MB, free: 22.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.4687, allocations: 301.7 kB / 456.4 MB, free: 22.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.4706, allocations: 210.6 kB / 456.6 MB, free: 22.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.4778, allocations: 3.284 MB / 459.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.4783, allocations: 0.8953 MB / 460.8 MB, free: 20 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001205/0.4795, allocations: 202.5 kB / 461 MB, free: 19.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.4799, allocations: 222.4 kB / 461.2 MB, free: 19.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.4799, allocations: 4 kB / 461.2 MB, free: 19.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05839/0.5383, allocations: 16.16 MB / 477.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.5387, allocations: 284.1 kB / 477.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/3.899, allocations: 5.344 kB / 477.7 MB, free: 15.51 MB / 330.7 MB