Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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.TestPressure,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",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.009638/0.009642, allocations: 162.7 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.69/1.69, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001739/0.001738, allocations: 106.8 kB / 226.2 MB, free: 10.1 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.4393/0.4393, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006314, allocations: 16 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.3249/0.4312, allocations: 34.74 MB / 446.4 MB, free: 31.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05186/0.4831, allocations: 19.94 MB / 466.4 MB, free: 19.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009083/0.4841, allocations: 14.28 kB / 466.4 MB, free: 19.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4852, allocations: 220.8 kB / 466.6 MB, free: 19.3 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.0353/0.5205, allocations: 3.573 MB / 470.2 MB, free: 17.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008842/0.5294, allocations: 1.518 MB / 471.7 MB, free: 16.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.5319, allocations: 1.283 MB / 473 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007147/0.5326, allocations: 283.3 kB / 473.3 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01978/0.5524, allocations: 9.031 MB / 482.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.5535, allocations: 332.4 kB / 482.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.5537, allocations: 19.41 kB / 482.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.5725, allocations: 6.815 MB / 489.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.5728, allocations: 90.08 kB / 489.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.5731, allocations: 120.6 kB / 489.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007343/0.5805, allocations: 3.014 MB / 492.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5805, allocations: 4 kB / 492.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5805, allocations: 0 / 492.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.5806, allocations: 0 / 492.7 MB, free: 11.12 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.004301/0.5849, allocations: 1.207 MB / 493.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5849, allocations: 9.312 kB / 493.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.5851, allocations: 82.73 kB / 494 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.5875, allocations: 231.2 kB / 494.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.5883, allocations: 390.8 kB / 494.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.5883, allocations: 35.98 kB / 494.6 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.5884, allocations: 38.22 kB / 494.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.5906, allocations: 0.6836 MB / 495.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5907, allocations: 3.188 kB / 495.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5908, allocations: 16.53 kB / 495.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.5908, allocations: 11.19 kB / 495.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.5931, allocations: 0.5927 MB / 496 MB, free: 8.918 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.00434/0.5975, allocations: 3.196 MB / 499.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.5995, allocations: 430.4 kB / 499.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.6, allocations: 165.9 kB / 499.7 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3381/0.9382, allocations: 81.67 MB / 0.5678 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.9383, allocations: 34.56 kB / 0.5678 GB, free: 11.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.196e-06/0.9383, allocations: 0 / 0.5678 GB, free: 11.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.004378/0.9427, allocations: 0.8501 MB / 0.5687 GB, free: 10.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.9428, allocations: 106.8 kB / 0.5688 GB, free: 10.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.9434, allocations: 345.5 kB / 0.5691 GB, free: 9.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.9435, allocations: 29.7 kB / 0.5691 GB, free: 9.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.9437, allocations: 263.2 kB / 0.5694 GB, free: 9.535 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.9439, allocations: 106.6 kB / 0.5695 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.9439, allocations: 8 kB / 0.5695 GB, free: 9.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.9441, allocations: 342.8 kB / 0.5698 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.9447, allocations: 136.8 kB / 0.5699 GB, free: 8.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/0.9454, allocations: 330 kB / 0.5702 GB, free: 8.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.9461, allocations: 183.8 kB / 0.5704 GB, free: 8.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.9461, allocations: 4 kB / 0.5704 GB, free: 8.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001803/0.9479, allocations: 0.5228 MB / 0.5709 GB, free: 7.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.9482, allocations: 280.5 kB / 0.5712 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.9482, allocations: 6.375 kB / 0.5712 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003958/0.9522, allocations: 232.5 kB / 0.5714 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/0.9529, allocations: 107.8 kB / 0.5715 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007052/0.9536, allocations: 0.5992 MB / 0.5721 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.9543, allocations: 63.47 kB / 0.5722 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.9544, allocations: 27.98 kB / 0.5722 GB, free: 6.402 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.9544, allocations: 8.062 kB / 0.5722 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001514/0.9559, allocations: 447.8 kB / 0.5726 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.9559, allocations: 4.125 kB / 0.5726 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.956, allocations: 16 kB / 0.5727 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.9567, allocations: 119.8 kB / 0.5728 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.9568, allocations: 11.94 kB / 0.5728 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.9573, allocations: 59.62 kB / 0.5728 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.9573, allocations: 24 kB / 0.5729 GB, free: 5.727 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (51): * Single equations (assignments): 50 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003644/0.9577, allocations: 255.9 kB / 0.5731 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.9578, allocations: 39.48 kB / 0.5731 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/0.9617, allocations: 1.883 MB / 0.575 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/0.9617, allocations: 31.89 kB / 0.575 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9618, allocations: 0 / 0.575 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.9618, allocations: 3.984 kB / 0.575 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.9634, allocations: 0.9556 MB / 0.576 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9634, allocations: 0 / 0.576 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.964, allocations: 63.94 kB / 0.576 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.9661, allocations: 0.588 MB / 0.5766 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.9661, allocations: 8 kB / 0.5766 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.9673, allocations: 1.003 MB / 0.5776 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9674, allocations: 4.062 kB / 0.5776 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2748/1.242, allocations: 1.266 MB / 0.5788 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/1.243, allocations: 236.5 kB / 0.579 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.243, allocations: 8.094 kB / 0.579 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/1.243, allocations: 29.98 kB / 0.5791 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.243, allocations: 28.39 kB / 0.5791 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/1.244, allocations: 7.734 kB / 0.5791 GB, free: 137.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005176/1.244, allocations: 304.8 kB / 0.5794 GB, free: 137.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.244, allocations: 0 / 0.5794 GB, free: 137.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005281/1.249, allocations: 1.135 MB / 0.5805 GB, free: 137.8 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,$cse12.phase,$cse12.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 (31): * Single equations (assignments): 24 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01072/1.26, allocations: 2.732 MB / 0.5832 GB, free: 137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002643/1.263, allocations: 0.7982 MB / 0.584 GB, free: 137 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.263, allocations: 0 / 0.584 GB, free: 137 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.264, allocations: 477.7 kB / 0.5844 GB, free: 137 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.266, allocations: 192.7 kB / 0.5846 GB, free: 137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1886/1.454, allocations: 81.07 MB / 0.6638 GB, free: 82.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/1.455, allocations: 0.9835 MB / 0.6647 GB, free: 81.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001286/1.456, allocations: 487.7 kB / 0.6652 GB, free: 81.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/1.457, allocations: 263.3 kB / 0.6654 GB, free: 80.98 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/1.457, allocations: 0.7656 kB / 0.6654 GB, free: 80.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/1.569, allocations: 46.82 MB / 0.7112 GB, free: 34.22 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/1.57, allocations: 276.8 kB / 0.7114 GB, free: 33.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.869/7.439, allocations: 0 / 0.7114 GB, free: 33.85 MB / 426.7 MB