Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00175/0.00175, allocations: 182.3 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.586/1.586, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001732/0.001733, allocations: 105.2 kB / 252.6 MB, free: 4.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2163/0.2163, allocations: 39.95 MB / 337.5 MB, free: 452 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.606e-05/5.61e-05, allocations: 7.984 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.809/6.924, allocations: 2.588 GB / 3.032 GB, free: 77.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/6.924, allocations: 87.23 kB / 3.032 GB, free: 77.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287/8.211, allocations: 312 MB / 3.337 GB, free: 71.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/8.211, allocations: 2.188 kB / 3.337 GB, free: 71.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.294e-05/8.211, allocations: 12.2 kB / 3.337 GB, free: 71.51 MB / 490.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.005127/8.216, allocations: 1.309 MB / 3.338 GB, free: 70.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/8.216, allocations: 10.61 kB / 3.338 GB, free: 70.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/8.218, allocations: 201.8 kB / 3.338 GB, free: 70.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/8.218, allocations: 358.6 kB / 3.339 GB, free: 70.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/8.218, allocations: 24.78 kB / 3.339 GB, free: 70.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/8.218, allocations: 26.45 kB / 3.339 GB, free: 70.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/8.219, allocations: 485 kB / 3.339 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/8.219, allocations: 0 / 3.339 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/8.219, allocations: 11.66 kB / 3.339 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/8.219, allocations: 7.75 kB / 3.339 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/8.22, allocations: 383.8 kB / 3.34 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/8.222, allocations: 2.283 MB / 3.342 GB, free: 68.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/8.223, allocations: 271.1 kB / 3.342 GB, free: 68.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/8.223, allocations: 56.3 kB / 3.342 GB, free: 68.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0321/8.255, allocations: 15.77 MB / 3.358 GB, free: 61.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/8.255, allocations: 40.58 kB / 3.358 GB, free: 61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/8.255, allocations: 0 / 3.358 GB, free: 61 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.001384/8.256, allocations: 413.1 kB / 3.358 GB, free: 60.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/8.256, allocations: 106.1 kB / 3.358 GB, free: 60.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/8.257, allocations: 241 kB / 3.358 GB, free: 60.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/8.257, allocations: 28.7 kB / 3.358 GB, free: 60.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/8.257, allocations: 218.7 kB / 3.359 GB, free: 60.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/8.257, allocations: 55.06 kB / 3.359 GB, free: 60.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/8.257, allocations: 11.25 kB / 3.359 GB, free: 60.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/8.257, allocations: 341 kB / 3.359 GB, free: 60.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/8.257, allocations: 47.59 kB / 3.359 GB, free: 60.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/8.257, allocations: 199.7 kB / 3.359 GB, free: 60.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/8.257, allocations: 78.64 kB / 3.359 GB, free: 60.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/8.257, allocations: 3.938 kB / 3.359 GB, free: 60.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003686/8.258, allocations: 283.4 kB / 3.36 GB, free: 60.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/8.258, allocations: 6.469 kB / 3.36 GB, free: 60.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/8.258, allocations: 9.938 kB / 3.36 GB, free: 60.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/8.258, allocations: 14.12 kB / 3.36 GB, free: 60.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/8.258, allocations: 76.62 kB / 3.36 GB, free: 60.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/8.258, allocations: 6.969 kB / 3.36 GB, free: 60.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/8.258, allocations: 49.88 kB / 3.36 GB, free: 60 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/8.258, allocations: 22.84 kB / 3.36 GB, free: 60 MB / 490.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 7.583e-05/8.258, allocations: 127.6 kB / 3.36 GB, free: 59.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/8.259, allocations: 26.97 kB / 3.36 GB, free: 59.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007884/8.259, allocations: 0.8884 MB / 3.361 GB, free: 59.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/8.259, allocations: 14.08 kB / 3.361 GB, free: 59.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/8.259, allocations: 0 / 3.361 GB, free: 59.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/8.259, allocations: 6.422 kB / 3.361 GB, free: 59.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/8.26, allocations: 0.5704 MB / 3.361 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/8.26, allocations: 0 / 3.361 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/8.26, allocations: 52.98 kB / 3.361 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/8.26, allocations: 0 / 3.361 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/8.26, allocations: 3.125 kB / 3.361 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/8.26, allocations: 4.906 kB / 3.361 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/8.26, allocations: 0 / 3.361 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/8.26, allocations: 480.7 kB / 3.362 GB, free: 59.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/8.261, allocations: 154.2 kB / 3.362 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/8.261, allocations: 0 / 3.362 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/8.261, allocations: 32.05 kB / 3.362 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/8.261, allocations: 18.78 kB / 3.362 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/8.261, allocations: 3.938 kB / 3.362 GB, free: 59.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001797/8.261, allocations: 219.5 kB / 3.362 GB, free: 59.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/8.261, allocations: 2.125 kB / 3.362 GB, free: 59.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004465/8.266, allocations: 0.8735 MB / 3.363 GB, free: 59.04 MB / 490.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.004892/8.27, allocations: 1.273 MB / 3.364 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004068/8.271, allocations: 252.4 kB / 3.365 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/8.271, allocations: 0 / 3.365 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/8.271, allocations: 179.6 kB / 3.365 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/8.272, allocations: 145.7 kB / 3.365 GB, free: 58.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1036/8.375, allocations: 54.78 MB / 3.418 GB, free: 56.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/8.376, allocations: 0.8541 MB / 3.419 GB, free: 56.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003788/8.376, allocations: 154.1 kB / 3.419 GB, free: 56.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/8.376, allocations: 36.44 kB / 3.42 GB, free: 56.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/8.376, allocations: 0 / 3.42 GB, free: 56.02 MB / 490.7 MB Notification: Performance of Templates: time 0.03479/8.411, allocations: 28.71 MB / 3.448 GB, free: 43.21 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)