Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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.01203/0.01204, allocations: 163.2 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.673/1.673, 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.001744/0.001744, allocations: 117.9 kB / 226.2 MB, free: 10.08 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.4805/0.4805, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004964, allocations: 15.98 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 48.7 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.354/0.4623, allocations: 27.62 MB / 439.3 MB, free: 31.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0259/0.4883, allocations: 16.17 MB / 455.5 MB, free: 27.03 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.4889, allocations: 14.44 kB / 455.5 MB, free: 27.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008739/0.4898, allocations: 169.6 kB / 455.7 MB, free: 26.93 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.001122/0.491, allocations: 262.8 kB / 455.9 MB, free: 26.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02291/0.5139, allocations: 4.578 MB / 460.5 MB, free: 24.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.5158, allocations: 0.9433 MB / 461.5 MB, free: 24.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007036/0.5166, allocations: 192.4 kB / 461.6 MB, free: 24.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02164/0.5383, allocations: 8.811 MB / 470.5 MB, free: 23.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.539, allocations: 230.7 kB / 470.7 MB, free: 23.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.5392, allocations: 17.56 kB / 470.7 MB, free: 23.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/0.5573, allocations: 5.929 MB / 476.6 MB, free: 21.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.5576, allocations: 65.58 kB / 476.7 MB, free: 21.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.5578, allocations: 96.58 kB / 476.8 MB, free: 21.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007644/0.5655, allocations: 2.551 MB / 479.3 MB, free: 21.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5656, allocations: 0 / 479.3 MB, free: 21.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.5656, allocations: 1.094 kB / 479.3 MB, free: 21.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.5656, allocations: 3.938 kB / 479.3 MB, free: 21.13 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004857/0.5705, allocations: 0.9702 MB / 480.3 MB, free: 20.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5705, allocations: 8.844 kB / 480.3 MB, free: 20.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5707, allocations: 65.02 kB / 480.4 MB, free: 20.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.573, allocations: 185.4 kB / 480.6 MB, free: 20.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.5739, allocations: 343.9 kB / 480.9 MB, free: 20.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.574, allocations: 25.53 kB / 480.9 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.574, allocations: 25.09 kB / 480.9 MB, free: 20.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.5761, allocations: 0.4923 MB / 481.4 MB, free: 19.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.5761, allocations: 3.938 kB / 481.4 MB, free: 19.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.5762, allocations: 17.38 kB / 481.5 MB, free: 19.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.5762, allocations: 5.344 kB / 481.5 MB, free: 19.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.5782, allocations: 432.6 kB / 481.9 MB, free: 19.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.5818, allocations: 2.326 MB / 484.2 MB, free: 17.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.5834, allocations: 332.2 kB / 484.5 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.5839, allocations: 106.5 kB / 484.6 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06184/0.6458, allocations: 15.87 MB / 0.4888 GB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6459, allocations: 30.56 kB / 0.4888 GB, free: 2.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 3.596e-06/0.6459, allocations: 0 / 0.4888 GB, free: 2.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.002871/0.6488, allocations: 0.5285 MB / 0.4893 GB, free: 2.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.6489, allocations: 102.8 kB / 0.4894 GB, free: 2.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.6493, allocations: 287.2 kB / 0.4897 GB, free: 1.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.6493, allocations: 29.7 kB / 0.4897 GB, free: 1.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.6495, allocations: 219.3 kB / 0.4899 GB, free: 1.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.6496, allocations: 51.3 kB / 0.49 GB, free: 1.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.6496, allocations: 4 kB / 0.49 GB, free: 1.555 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.6497, allocations: 342.8 kB / 0.4903 GB, free: 1.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.6501, allocations: 92.5 kB / 0.4904 GB, free: 1.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.6506, allocations: 243.9 kB / 0.4906 GB, free: 0.8164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.6511, allocations: 122 kB / 0.4908 GB, free: 0.6992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6511, allocations: 4 kB / 0.4908 GB, free: 0.6953 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001209/0.6523, allocations: 368.7 kB / 0.4911 GB, free: 336 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.6524, allocations: 5.406 kB / 0.4911 GB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6524, allocations: 12.34 kB / 0.4911 GB, free: 324 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.6525, allocations: 12 kB / 0.4911 GB, free: 312 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.653, allocations: 83.83 kB / 0.4912 GB, free: 228 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.653, allocations: 8 kB / 0.4912 GB, free: 220 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.6535, allocations: 43.73 kB / 0.4913 GB, free: 176 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.6536, allocations: 20 kB / 0.4913 GB, free: 156 kB / 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 (34): * Single equations (assignments): 34 * 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.0002966/0.6539, allocations: 166.8 kB / 0.4914 GB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.654, allocations: 23.56 kB / 0.4915 GB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.6562, allocations: 0.9613 MB / 0.4924 GB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.6563, allocations: 11.98 kB / 0.4924 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6563, allocations: 0 / 0.4924 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6563, allocations: 3.984 kB / 0.4924 GB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.6575, allocations: 0.5777 MB / 0.493 GB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.6575, allocations: 0 / 0.493 GB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.658, allocations: 59.89 kB / 0.493 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.658, allocations: 0 / 0.493 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.658, allocations: 8 kB / 0.493 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.6581, allocations: 0 / 0.493 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6581, allocations: 3.938 kB / 0.4931 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.6594, allocations: 0.5339 MB / 0.4936 GB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.6598, allocations: 180.2 kB / 0.4937 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.6599, allocations: 0 / 0.4937 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.6602, allocations: 23.98 kB / 0.4938 GB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.6604, allocations: 15.97 kB / 0.4938 GB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.6604, allocations: 8 kB / 0.4938 GB, free: 13.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003938/0.6608, allocations: 227.2 kB / 0.494 GB, free: 13.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6608, allocations: 4 kB / 0.494 GB, free: 13.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004818/0.6657, allocations: 0.8315 MB / 0.4948 GB, free: 12.42 MB / 346.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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01077/0.6765, allocations: 1.986 MB / 0.4968 GB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.6778, allocations: 336.2 kB / 0.4971 GB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6778, allocations: 0 / 0.4971 GB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000556/0.6784, allocations: 228.3 kB / 0.4973 GB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.6798, allocations: 131.4 kB / 0.4974 GB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07794/0.7578, allocations: 26.27 MB / 0.5231 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.7584, allocations: 0.8515 MB / 0.5239 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006557/0.759, allocations: 184.8 kB / 0.5241 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.7594, allocations: 143.4 kB / 0.5242 GB, free: 14.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7594, allocations: 0 / 0.5242 GB, free: 14.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/0.889, allocations: 37.6 MB / 0.5609 GB, free: 8.535 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003743/0.8894, allocations: 252.3 kB / 0.5612 GB, free: 8.266 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.253/6.142, allocations: 0 / 0.5612 GB, free: 8.266 MB / 410.7 MB