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.001065/0.001065, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001095/0.001095, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4807/0.4807, allocations: 40 MB / 310.4 MB, free: 9.934 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.0006488/0.0006489, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1581, allocations: 57.95 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3513/0.5094, allocations: 27.96 MB / 464.8 MB, free: 34.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.5254, allocations: 16.35 MB / 481.1 MB, free: 27.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.5259, allocations: 7.125 kB / 481.1 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006233/0.5266, allocations: 174.2 kB / 481.3 MB, free: 27.76 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.5272, allocations: 256.8 kB / 481.5 MB, free: 27.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01551/0.5427, allocations: 4.642 MB / 486.2 MB, free: 25.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.5444, allocations: 0.9485 MB / 487.1 MB, free: 25.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.5448, allocations: 190.4 kB / 487.3 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/0.5604, allocations: 8.923 MB / 496.2 MB, free: 23.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.5613, allocations: 231.3 kB / 496.5 MB, free: 23.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.588e-05/0.5613, allocations: 14.59 kB / 496.5 MB, free: 23.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0148/0.5762, allocations: 6.004 MB / 0.4907 GB, free: 22.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.5765, allocations: 74.27 kB / 0.4908 GB, free: 22.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.5768, allocations: 101.3 kB / 0.4909 GB, free: 22.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008914/0.5857, allocations: 2.57 MB / 0.4934 GB, free: 21.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.5858, allocations: 5.312 kB / 0.4934 GB, free: 21.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5858, allocations: 0 / 0.4934 GB, free: 21.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.5858, allocations: 0 / 0.4934 GB, free: 21.86 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.005601/0.5914, allocations: 0.9789 MB / 0.4943 GB, free: 21.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5915, allocations: 13.19 kB / 0.4943 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.5932, allocations: 198.6 kB / 0.4945 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.5937, allocations: 320.6 kB / 0.4948 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.5938, allocations: 29.55 kB / 0.4949 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.5938, allocations: 24.28 kB / 0.4949 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.5952, allocations: 0.4971 MB / 0.4954 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5952, allocations: 1 kB / 0.4954 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.5953, allocations: 15.59 kB / 0.4954 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5953, allocations: 6.812 kB / 0.4954 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.5966, allocations: 435.5 kB / 0.4958 GB, free: 20.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.5997, allocations: 2.44 MB / 0.4982 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.6008, allocations: 363.7 kB / 0.4985 GB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.6011, allocations: 116 kB / 0.4987 GB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02928/0.6304, allocations: 16.63 MB / 0.5149 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.6305, allocations: 37.53 kB / 0.5149 GB, free: 5.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 3.947e-06/0.6305, allocations: 4 kB / 0.5149 GB, free: 5.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.002133/0.6327, allocations: 0.5598 MB / 0.5155 GB, free: 5.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.6328, allocations: 105.2 kB / 0.5156 GB, free: 5.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.6332, allocations: 320.1 kB / 0.5159 GB, free: 5.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.6332, allocations: 27.48 kB / 0.5159 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.6334, allocations: 213.4 kB / 0.5161 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.6334, allocations: 54.52 kB / 0.5162 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.6334, allocations: 2.688 kB / 0.5162 GB, free: 5.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.6335, allocations: 344.1 kB / 0.5165 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.6338, allocations: 102.5 kB / 0.5166 GB, free: 4.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.6341, allocations: 228.8 kB / 0.5168 GB, free: 4.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.6344, allocations: 123.6 kB / 0.5169 GB, free: 4.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6344, allocations: 0 / 0.5169 GB, free: 4.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006018/0.635, allocations: 359.9 kB / 0.5173 GB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.635, allocations: 8 kB / 0.5173 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.635, allocations: 0 / 0.5173 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.6351, allocations: 8 kB / 0.5173 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.6353, allocations: 75.89 kB / 0.5174 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6353, allocations: 11.92 kB / 0.5174 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.6356, allocations: 59.73 kB / 0.5174 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.6357, allocations: 16 kB / 0.5175 GB, free: 3.832 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_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 (30): * Single equations (assignments): 30 * 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.0001514/0.6358, allocations: 157.7 kB / 0.5176 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.6359, allocations: 31.62 kB / 0.5176 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.6371, allocations: 1.142 MB / 0.5188 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6371, allocations: 15.98 kB / 0.5188 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6371, allocations: 3.938 kB / 0.5188 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6371, allocations: 7.938 kB / 0.5188 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.6377, allocations: 0.6638 MB / 0.5194 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6377, allocations: 0 / 0.5194 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.6379, allocations: 55.95 kB / 0.5195 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6379, allocations: 0 / 0.5195 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.6379, allocations: 8 kB / 0.5195 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.638, allocations: 0 / 0.5195 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.638, allocations: 0 / 0.5195 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.6387, allocations: 0.6471 MB / 0.5201 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.6388, allocations: 195.9 kB / 0.5203 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.6389, allocations: 4 kB / 0.5203 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.6391, allocations: 27.91 kB / 0.5203 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.6392, allocations: 31.92 kB / 0.5204 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.6392, allocations: 4.625 kB / 0.5204 GB, free: 0.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.6395, allocations: 342.8 kB / 0.5207 GB, free: 424 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6395, allocations: 0 / 0.5207 GB, free: 424 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.005338/0.6449, allocations: 0.8394 MB / 0.5215 GB, free: 15.57 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 (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.009366/0.6543, allocations: 1.003 MB / 0.5225 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.6554, allocations: 373.1 kB / 0.5229 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6554, allocations: 0 / 0.5229 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.6559, allocations: 268.5 kB / 0.5231 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.657, allocations: 184.3 kB / 0.5233 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.6587, allocations: 1.264 MB / 0.5245 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.6592, allocations: 0.88 MB / 0.5254 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004132/0.6596, allocations: 187 kB / 0.5256 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.6597, allocations: 35.44 kB / 0.5256 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.6597, allocations: 0 / 0.5256 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Templates: time 0.04975/0.7095, allocations: 34.53 MB / 0.5593 GB, free: 8.812 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: