Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009026, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006707/0.006707, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2905/0.2905, allocations: 38.03 MB / 308.8 MB, free: 10.29 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006334/0.0006336, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 57.52 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2205/0.3221, allocations: 30.2 MB / 464.8 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.3381, allocations: 18.28 MB / 483.1 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/0.3387, allocations: 9.75 kB / 483.1 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.3393, allocations: 187.5 kB / 483.2 MB, free: 27.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006535/0.34, allocations: 258.6 kB / 483.5 MB, free: 27.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01558/0.3556, allocations: 4.871 MB / 488.4 MB, free: 25.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.357, allocations: 1.117 MB / 489.5 MB, free: 24.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.3575, allocations: 200.5 kB / 489.7 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009888/0.3674, allocations: 5.374 MB / 495.1 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.3679, allocations: 253.7 kB / 495.3 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.368, allocations: 12.66 kB / 495.3 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.3804, allocations: 6.235 MB / 0.4898 GB, free: 20.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3806, allocations: 70.84 kB / 0.4899 GB, free: 20.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.3809, allocations: 200.6 kB / 0.4901 GB, free: 20.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009956/0.3909, allocations: 3.813 MB / 0.4938 GB, free: 19.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3909, allocations: 1 kB / 0.4938 GB, free: 19.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.391, allocations: 0 / 0.4938 GB, free: 19.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.391, allocations: 0 / 0.4938 GB, free: 19.5 MB / 382.1 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.004528/0.3955, allocations: 0.9735 MB / 0.4947 GB, free: 18.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3956, allocations: 9.188 kB / 0.4947 GB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.3972, allocations: 202.2 kB / 0.4949 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.3976, allocations: 337.6 kB / 0.4953 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.3977, allocations: 21.31 kB / 0.4953 GB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.3977, allocations: 29.05 kB / 0.4953 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.399, allocations: 0.5063 MB / 0.4958 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.399, allocations: 1.375 kB / 0.4958 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.3991, allocations: 12.12 kB / 0.4958 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3991, allocations: 7.438 kB / 0.4958 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.4003, allocations: 444.8 kB / 0.4962 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.4029, allocations: 2.437 MB / 0.4986 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.4041, allocations: 355.9 kB / 0.499 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.4045, allocations: 123.2 kB / 0.4991 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03185/0.4363, allocations: 16.62 MB / 0.5153 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4364, allocations: 35.81 kB / 0.5153 GB, free: 3.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.4364, allocations: 0 / 0.5153 GB, free: 3.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.002128/0.4385, allocations: 0.5746 MB / 0.5159 GB, free: 3.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4386, allocations: 105.9 kB / 0.516 GB, free: 2.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.439, allocations: 318.9 kB / 0.5163 GB, free: 2.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.4391, allocations: 30.8 kB / 0.5163 GB, free: 2.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4392, allocations: 210 kB / 0.5165 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.4392, allocations: 50.08 kB / 0.5166 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.4393, allocations: 25.72 kB / 0.5166 GB, free: 2.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.4394, allocations: 345.7 kB / 0.5169 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.4397, allocations: 105.8 kB / 0.517 GB, free: 2.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.44, allocations: 224.6 kB / 0.5173 GB, free: 1.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.4406, allocations: 319.1 kB / 0.5176 GB, free: 1.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4406, allocations: 1.188 kB / 0.5176 GB, free: 1.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007472/0.4414, allocations: 365 kB / 0.5179 GB, free: 1.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4414, allocations: 6.312 kB / 0.5179 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4414, allocations: 3.406 kB / 0.5179 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4415, allocations: 10 kB / 0.5179 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.4417, allocations: 73.73 kB / 0.518 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.4418, allocations: 10.28 kB / 0.518 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4421, allocations: 56.55 kB / 0.5181 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.4421, allocations: 17.86 kB / 0.5181 GB, free: 1.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.4423, allocations: 148.6 kB / 0.5182 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.4424, allocations: 37.64 kB / 0.5183 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.4437, allocations: 1.146 MB / 0.5194 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.4437, allocations: 19.75 kB / 0.5194 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4437, allocations: 1.281 kB / 0.5194 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4437, allocations: 0 / 0.5194 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.4443, allocations: 0.6615 MB / 0.52 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4443, allocations: 0 / 0.52 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.4445, allocations: 57.42 kB / 0.5201 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4445, allocations: 1.375 kB / 0.5201 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4446, allocations: 9.359 kB / 0.5201 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4446, allocations: 5.312 kB / 0.5201 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4446, allocations: 0 / 0.5201 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.4455, allocations: 0.6448 MB / 0.5207 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.4456, allocations: 196.2 kB / 0.5209 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.4457, allocations: 10.62 kB / 0.5209 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.4459, allocations: 31.77 kB / 0.521 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.446, allocations: 22.38 kB / 0.521 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.446, allocations: 12.2 kB / 0.521 GB, free: 15.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.4464, allocations: 339 kB / 0.5213 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4464, allocations: 0 / 0.5213 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004015/0.4504, allocations: 0.8413 MB / 0.5221 GB, free: 14.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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 (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004042/0.4545, allocations: 1.008 MB / 0.5231 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008208/0.4553, allocations: 375.5 kB / 0.5235 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4553, allocations: 0 / 0.5235 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.4557, allocations: 268.9 kB / 0.5237 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4568, allocations: 187.1 kB / 0.5239 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.4584, allocations: 1.271 MB / 0.5252 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.4588, allocations: 0.8748 MB / 0.526 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000376/0.4592, allocations: 190.2 kB / 0.5262 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.4593, allocations: 40.17 kB / 0.5262 GB, free: 12.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4593, allocations: 0 / 0.5262 GB, free: 12.37 MB / 398.1 MB Notification: Performance of Templates: time 0.04681/0.5061, allocations: 34.1 MB / 0.5595 GB, free: 10.46 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) Environment - environmentSimulation: