Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",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.013/0.013, allocations: 162 kB / 15.12 MB, free: 6.027 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.76/1.76, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001791/0.00179, allocations: 113.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.4444/0.4444, allocations: 38.06 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004801, allocations: 8 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3662/0.4765, allocations: 27.58 MB / 439.3 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.4973, allocations: 14.29 MB / 453.6 MB, free: 28.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.4979, allocations: 20.53 kB / 453.6 MB, free: 28.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.4986, allocations: 162.5 kB / 453.8 MB, free: 28.35 MB / 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. Notification: Performance of NFTyping.typeBindings: time 0.000848/0.4995, allocations: 264.1 kB / 454 MB, free: 28.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01715/0.5167, allocations: 4.254 MB / 458.3 MB, free: 26.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.518, allocations: 0.9301 MB / 459.2 MB, free: 25.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.5184, allocations: 181.8 kB / 459.4 MB, free: 25.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01813/0.5366, allocations: 8.832 MB / 468.2 MB, free: 24.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.5372, allocations: 222 kB / 468.4 MB, free: 24.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.5373, allocations: 12.22 kB / 468.4 MB, free: 24.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01597/0.5532, allocations: 5.758 MB / 474.2 MB, free: 23.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.5535, allocations: 66.12 kB / 474.3 MB, free: 23.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.5537, allocations: 91.95 kB / 474.4 MB, free: 23.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006929/0.5606, allocations: 2.435 MB / 476.8 MB, free: 22.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.5607, allocations: 1.188 kB / 476.8 MB, free: 22.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5607, allocations: 3.938 kB / 476.8 MB, free: 22.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.5607, allocations: 0 / 476.8 MB, free: 22.81 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004421/0.5652, allocations: 0.9349 MB / 477.7 MB, free: 22.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5652, allocations: 8.969 kB / 477.7 MB, free: 22.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.5653, allocations: 60.78 kB / 477.8 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.5666, allocations: 118 kB / 477.9 MB, free: 22.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.5672, allocations: 330.2 kB / 478.2 MB, free: 21.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.5673, allocations: 20.84 kB / 478.3 MB, free: 21.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.5673, allocations: 24.31 kB / 478.3 MB, free: 21.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.569, allocations: 468.8 kB / 478.7 MB, free: 21.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.569, allocations: 3.938 kB / 478.7 MB, free: 21.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.5691, allocations: 22.25 kB / 478.8 MB, free: 21.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.5691, allocations: 5.938 kB / 478.8 MB, free: 21.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.5709, allocations: 394 kB / 479.2 MB, free: 21.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.5741, allocations: 2.282 MB / 481.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.5755, allocations: 280.1 kB / 481.7 MB, free: 19.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.5759, allocations: 95.59 kB / 481.8 MB, free: 19.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.5764, allocations: 489.9 kB / 482.3 MB, free: 18.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.5764, allocations: 42.3 kB / 482.3 MB, free: 18.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.5765, allocations: 0 / 482.3 MB, free: 18.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.00228/0.5787, allocations: 472.2 kB / 482.8 MB, free: 18.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.5788, allocations: 109.2 kB / 482.9 MB, free: 18.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.5792, allocations: 277.4 kB / 483.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.5792, allocations: 25.7 kB / 483.2 MB, free: 18.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.5794, allocations: 219.8 kB / 483.4 MB, free: 17.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.5794, allocations: 41.33 kB / 483.4 MB, free: 17.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.5794, allocations: 4 kB / 483.4 MB, free: 17.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.5795, allocations: 340.9 kB / 483.8 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.5799, allocations: 95.61 kB / 483.9 MB, free: 17.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.5804, allocations: 233.4 kB / 484.1 MB, free: 17.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.5809, allocations: 114.6 kB / 484.2 MB, free: 17.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5809, allocations: 5.562 kB / 484.2 MB, free: 17.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001103/0.582, allocations: 341.9 kB / 484.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.582, allocations: 7.469 kB / 484.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5821, allocations: 4.125 kB / 484.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.5821, allocations: 10.88 kB / 484.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.5826, allocations: 78.83 kB / 484.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.5826, allocations: 5.5 kB / 484.7 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.583, allocations: 47.11 kB / 484.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.5831, allocations: 16.38 kB / 484.7 MB, free: 16.93 MB / 330.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: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * 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.0002049/0.5833, allocations: 161.9 kB / 484.9 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.5834, allocations: 24.09 kB / 484.9 MB, free: 16.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.5849, allocations: 0.7045 MB / 485.6 MB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.5849, allocations: 6.297 kB / 485.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.585, allocations: 1.188 kB / 485.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.585, allocations: 0 / 485.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.5857, allocations: 494.4 kB / 486.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5857, allocations: 0 / 486.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.586, allocations: 48.25 kB / 486.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5861, allocations: 3.938 kB / 486.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.5861, allocations: 1.25 kB / 486.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.5861, allocations: 5.359 kB / 486.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5861, allocations: 7.875 kB / 486.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.587, allocations: 459.8 kB / 486.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.5872, allocations: 158.2 kB / 486.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.5873, allocations: 5.375 kB / 486.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.5876, allocations: 27.09 kB / 486.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.5877, allocations: 14.86 kB / 486.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.5877, allocations: 2.75 kB / 486.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002871/0.588, allocations: 234.1 kB / 487 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.588, allocations: 0 / 487 MB, free: 15.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004254/0.5923, allocations: 0.8264 MB / 487.9 MB, free: 15.14 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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.009681/0.602, allocations: 1.88 MB / 489.7 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.6031, allocations: 282.1 kB / 490 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6031, allocations: 1.844 kB / 490 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.6035, allocations: 175.9 kB / 490.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6048, allocations: 121.8 kB / 490.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06412/0.6689, allocations: 26.11 MB / 0.5043 GB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.6694, allocations: 0.8349 MB / 0.5051 GB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005753/0.67, allocations: 134.8 kB / 0.5053 GB, free: 3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.6703, allocations: 131.4 kB / 0.5054 GB, free: 2.871 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6703, allocations: 4 kB / 0.5054 GB, free: 2.867 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/0.7848, allocations: 36.65 MB / 0.5412 GB, free: 14.25 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/0.7851, allocations: 241.5 kB / 0.5414 GB, free: 13.97 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.344/6.129, allocations: 3.938 kB / 0.5414 GB, free: 13.96 MB / 394.7 MB