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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001335/0.001335, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.469/1.469, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001741/0.001741, allocations: 111.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1933/0.1933, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.116e-05, allocations: 2.125 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09863, allocations: 48.73 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.825/6.924, allocations: 2.476 GB / 2.866 GB, free: 80.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/6.924, allocations: 87.12 kB / 2.866 GB, free: 80.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267/8.191, allocations: 300.5 MB / 3.159 GB, free: 45.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/8.191, allocations: 0 / 3.159 GB, free: 45.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.527e-05/8.191, allocations: 13.16 kB / 3.159 GB, free: 45.98 MB / 426.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.005155/8.197, allocations: 1.286 MB / 3.161 GB, free: 45.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/8.197, allocations: 9.625 kB / 3.161 GB, free: 45.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/8.198, allocations: 186.5 kB / 3.161 GB, free: 45.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/8.199, allocations: 359.2 kB / 3.161 GB, free: 45.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/8.199, allocations: 12.84 kB / 3.161 GB, free: 45.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/8.199, allocations: 13.69 kB / 3.161 GB, free: 45.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004116/8.199, allocations: 225.5 kB / 3.161 GB, free: 45.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/8.2, allocations: 321.9 kB / 3.162 GB, free: 45.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/8.2, allocations: 0.6875 kB / 3.162 GB, free: 45.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/8.2, allocations: 9.188 kB / 3.162 GB, free: 45.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/8.2, allocations: 10.58 kB / 3.162 GB, free: 45.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/8.202, allocations: 2.229 MB / 3.164 GB, free: 43.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/8.202, allocations: 136.8 kB / 3.164 GB, free: 43.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/8.202, allocations: 56.22 kB / 3.164 GB, free: 43.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03834/8.241, allocations: 15.76 MB / 3.179 GB, free: 35.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/8.241, allocations: 38.64 kB / 3.179 GB, free: 35.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/8.241, allocations: 2.625 kB / 3.179 GB, free: 35.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001239/8.242, allocations: 288.3 kB / 3.18 GB, free: 35.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/8.242, allocations: 108.2 kB / 3.18 GB, free: 35.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/8.242, allocations: 236.4 kB / 3.18 GB, free: 35.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/8.242, allocations: 25.7 kB / 3.18 GB, free: 35.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/8.243, allocations: 217.8 kB / 3.18 GB, free: 35.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/8.243, allocations: 49.91 kB / 3.18 GB, free: 35.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/8.243, allocations: 0 / 3.18 GB, free: 35.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/8.243, allocations: 336.7 kB / 3.181 GB, free: 34.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/8.243, allocations: 47.72 kB / 3.181 GB, free: 34.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/8.243, allocations: 189.6 kB / 3.181 GB, free: 34.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/8.243, allocations: 96.73 kB / 3.181 GB, free: 34.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/8.243, allocations: 1.531 kB / 3.181 GB, free: 34.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005049/8.244, allocations: 265.3 kB / 3.181 GB, free: 34.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/8.244, allocations: 6.469 kB / 3.181 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/8.244, allocations: 4.469 kB / 3.181 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/8.244, allocations: 11.83 kB / 3.181 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/8.244, allocations: 83.88 kB / 3.181 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/8.244, allocations: 9.375 kB / 3.181 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/8.245, allocations: 45.27 kB / 3.181 GB, free: 34.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/8.245, allocations: 16.31 kB / 3.181 GB, free: 34.65 MB / 426.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 () * 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 9.162e-05/8.245, allocations: 113.8 kB / 3.181 GB, free: 34.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/8.245, allocations: 25.25 kB / 3.181 GB, free: 34.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009453/8.246, allocations: 0.8962 MB / 3.182 GB, free: 34.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/8.246, allocations: 10.28 kB / 3.182 GB, free: 34.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/8.246, allocations: 3.953 kB / 3.182 GB, free: 34.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/8.246, allocations: 6.859 kB / 3.182 GB, free: 34.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/8.246, allocations: 0.5117 MB / 3.183 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/8.246, allocations: 0 / 3.183 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/8.247, allocations: 54.48 kB / 3.183 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/8.247, allocations: 3.469 kB / 3.183 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/8.247, allocations: 3.75 kB / 3.183 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/8.247, allocations: 9.969 kB / 3.183 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/8.247, allocations: 0 / 3.183 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/8.247, allocations: 476.2 kB / 3.183 GB, free: 34.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/8.247, allocations: 159 kB / 3.184 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/8.247, allocations: 0 / 3.184 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/8.247, allocations: 24.42 kB / 3.184 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/8.248, allocations: 19.06 kB / 3.184 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/8.248, allocations: 5.812 kB / 3.184 GB, free: 33.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001646/8.248, allocations: 214.9 kB / 3.184 GB, free: 33.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/8.248, allocations: 2.875 kB / 3.184 GB, free: 33.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004497/8.252, allocations: 0.8329 MB / 3.185 GB, free: 33.72 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: 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 () * 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.005164/8.257, allocations: 1.364 MB / 3.186 GB, free: 33.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/8.258, allocations: 235.2 kB / 3.186 GB, free: 33.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/8.258, allocations: 1.859 kB / 3.186 GB, free: 33.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/8.258, allocations: 179.4 kB / 3.186 GB, free: 33.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/8.259, allocations: 128.6 kB / 3.186 GB, free: 33.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/8.368, allocations: 53.9 MB / 3.239 GB, free: 31.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/8.369, allocations: 0.8585 MB / 3.24 GB, free: 30.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005107/8.369, allocations: 140.9 kB / 3.24 GB, free: 30.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/8.369, allocations: 38.02 kB / 3.24 GB, free: 30.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/8.369, allocations: 0 / 3.24 GB, free: 30.62 MB / 426.7 MB Notification: Performance of Templates: time 0.03824/8.408, allocations: 23.68 MB / 3.263 GB, free: 29.11 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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)