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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001339/0.001339, allocations: 191 kB / 16.25 MB, free: 6.625 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.719/1.719, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4076/0.4076, allocations: 39.92 MB / 309.4 MB, free: 9.305 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.2. 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.001312/0.001312, allocations: 71.89 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 56.88 MB / 434 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3352/0.4861, allocations: 30.17 MB / 464.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.5063, allocations: 17.64 MB / 481.8 MB, free: 25.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.5071, allocations: 10.06 kB / 481.8 MB, free: 25.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.5078, allocations: 201.1 kB / 482 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.5085, allocations: 243.5 kB / 482.3 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02082/0.5294, allocations: 5.343 MB / 487.6 MB, free: 23.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.5309, allocations: 0.8344 MB / 488.4 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.5313, allocations: 232.8 kB / 488.7 MB, free: 22.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/0.542, allocations: 5.431 MB / 494.1 MB, free: 20.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.5426, allocations: 251 kB / 494.3 MB, free: 20.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.5426, allocations: 29.72 kB / 494.4 MB, free: 20.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.5569, allocations: 6.235 MB / 0.4889 GB, free: 18.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.5572, allocations: 91.81 kB / 0.489 GB, free: 18.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.5576, allocations: 188.3 kB / 0.4891 GB, free: 18.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.5747, allocations: 3.853 MB / 0.4929 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5748, allocations: 0 / 0.4929 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5748, allocations: 0 / 0.4929 GB, free: 17.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.5748, allocations: 0 / 0.4929 GB, free: 17.32 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.006143/0.581, allocations: 1.048 MB / 0.4939 GB, free: 16.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.581, allocations: 13.2 kB / 0.4939 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.5829, allocations: 190.2 kB / 0.4941 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.5836, allocations: 329.3 kB / 0.4944 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.5836, allocations: 28.81 kB / 0.4945 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.5837, allocations: 28.81 kB / 0.4945 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.5852, allocations: 490.7 kB / 0.495 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5853, allocations: 1.156 kB / 0.495 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.5853, allocations: 16.5 kB / 0.495 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5853, allocations: 10.67 kB / 0.495 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.5866, allocations: 414.9 kB / 0.4954 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.5898, allocations: 2.416 MB / 0.4977 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.591, allocations: 334.2 kB / 0.4981 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.5913, allocations: 110.9 kB / 0.4982 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03278/0.6241, allocations: 16.46 MB / 0.5142 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.6241, allocations: 32.84 kB / 0.5143 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.6242, allocations: 0 / 0.5143 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.002094/0.6263, allocations: 0.5238 MB / 0.5148 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.6263, allocations: 113 kB / 0.5149 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.6267, allocations: 323.3 kB / 0.5152 GB, free: 376 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.6267, allocations: 27.02 kB / 0.5152 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.6269, allocations: 216.4 kB / 0.5154 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.6269, allocations: 47.64 kB / 0.5155 GB, free: 100 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.627, allocations: 62.12 kB / 0.5155 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6272, allocations: 336.4 kB / 0.5159 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.6274, allocations: 96.17 kB / 0.5159 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.6278, allocations: 210.3 kB / 0.5161 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.6284, allocations: 300 kB / 0.5164 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6284, allocations: 0 / 0.5164 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007864/0.6292, allocations: 338.9 kB / 0.5168 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6292, allocations: 11.06 kB / 0.5168 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6293, allocations: 8.281 kB / 0.5168 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.6293, allocations: 8.5 kB / 0.5168 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.6296, allocations: 69.83 kB / 0.5168 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.6296, allocations: 10.75 kB / 0.5169 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.6299, allocations: 47.78 kB / 0.5169 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.63, allocations: 10.41 kB / 0.5169 GB, free: 15 MB / 398.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.0001756/0.6302, allocations: 159.8 kB / 0.5171 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.6302, allocations: 31.88 kB / 0.5171 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.6318, allocations: 1.1 MB / 0.5182 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.6318, allocations: 24.03 kB / 0.5182 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6318, allocations: 5.312 kB / 0.5182 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6318, allocations: 0 / 0.5182 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.6326, allocations: 0.6644 MB / 0.5188 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.6326, allocations: 7.922 kB / 0.5189 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.6328, allocations: 49.2 kB / 0.5189 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.6329, allocations: 5.453 kB / 0.5189 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6329, allocations: 5.281 kB / 0.5189 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6329, allocations: 9.75 kB / 0.5189 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6329, allocations: 0 / 0.5189 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.6338, allocations: 0.6127 MB / 0.5195 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.6339, allocations: 134.1 kB / 0.5196 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.634, allocations: 23.81 kB / 0.5197 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.6343, allocations: 29.47 kB / 0.5197 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.6344, allocations: 20.22 kB / 0.5197 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.6344, allocations: 4.75 kB / 0.5197 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.6348, allocations: 343.8 kB / 0.52 GB, free: 12.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.6348, allocations: 0 / 0.52 GB, free: 12.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005646/0.6404, allocations: 0.8452 MB / 0.5209 GB, free: 12.66 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.008643/0.6491, allocations: 1.015 MB / 0.5219 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.6501, allocations: 359.5 kB / 0.5222 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6502, allocations: 0.9375 kB / 0.5222 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.6506, allocations: 264 kB / 0.5225 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.6518, allocations: 192.4 kB / 0.5226 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.6535, allocations: 1.247 MB / 0.5239 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.6539, allocations: 0.8759 MB / 0.5247 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003761/0.6542, allocations: 182.2 kB / 0.5249 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.6543, allocations: 31.44 kB / 0.5249 GB, free: 9.555 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6543, allocations: 0 / 0.5249 GB, free: 9.555 MB / 398.1 MB Notification: Performance of Templates: time 0.05115/0.7055, allocations: 34.44 MB / 0.5586 GB, free: 7.098 MB / 430.1 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)