Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008321/0.0008321, allocations: 93.56 kB / 17 MB, free: 6.07 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.0008597/0.0008598, allocations: 178.5 kB / 17.89 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 241.9 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.207/0.207, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 15.98 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1513, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03033/0.1817, allocations: 27.94 MB / 499.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.2035, allocations: 16.36 MB / 0.5039 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005111/0.2041, allocations: 7.938 kB / 0.5039 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007194/0.2048, allocations: 170.9 kB / 0.504 GB, free: 1.02 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007063/0.2055, allocations: 274.4 kB / 0.5043 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3644/0.5699, allocations: 4.635 MB / 0.5088 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.5717, allocations: 0.9584 MB / 0.5098 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.5721, allocations: 191.2 kB / 0.5099 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01802/0.5902, allocations: 8.925 MB / 0.5187 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.5908, allocations: 232.8 kB / 0.5189 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.5909, allocations: 12.97 kB / 0.5189 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.6038, allocations: 6.013 MB / 0.5248 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.604, allocations: 73.55 kB / 0.5248 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.6043, allocations: 94.27 kB / 0.5249 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005728/0.61, allocations: 2.577 MB / 0.5274 GB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.61, allocations: 0 / 0.5274 GB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6101, allocations: 0 / 0.5274 GB, free: 11.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.6101, allocations: 0 / 0.5274 GB, free: 11.83 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.002813/0.6129, allocations: 0.9803 MB / 0.5284 GB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6129, allocations: 13.02 kB / 0.5284 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/0.613, allocations: 64.73 kB / 0.5285 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.6145, allocations: 194.8 kB / 0.5287 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.615, allocations: 325.5 kB / 0.529 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.6151, allocations: 25.34 kB / 0.529 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.6151, allocations: 24.64 kB / 0.529 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.6162, allocations: 0.4924 MB / 0.5295 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.6163, allocations: 4.062 kB / 0.5295 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.6163, allocations: 9.312 kB / 0.5295 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6163, allocations: 14.23 kB / 0.5295 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.6174, allocations: 439.3 kB / 0.5299 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.6199, allocations: 2.444 MB / 0.5323 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.6209, allocations: 356.8 kB / 0.5327 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.6212, allocations: 119.8 kB / 0.5328 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02668/0.6479, allocations: 16.62 MB / 0.549 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.648, allocations: 33.81 kB / 0.549 GB, free: 5.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.648, allocations: 0 / 0.549 GB, free: 5.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001913/0.6499, allocations: 0.5701 MB / 0.5496 GB, free: 5.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.65, allocations: 106.8 kB / 0.5497 GB, free: 5.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.6503, allocations: 321.9 kB / 0.55 GB, free: 5.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.6504, allocations: 28.95 kB / 0.55 GB, free: 5.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.6505, allocations: 212.4 kB / 0.5502 GB, free: 4.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.6506, allocations: 46.27 kB / 0.5503 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.6506, allocations: 10.06 kB / 0.5503 GB, free: 4.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6507, allocations: 334.4 kB / 0.5506 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.651, allocations: 105.5 kB / 0.5507 GB, free: 4.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.6513, allocations: 225.1 kB / 0.5509 GB, free: 4.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.6516, allocations: 129.1 kB / 0.5511 GB, free: 4.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6516, allocations: 0 / 0.5511 GB, free: 4.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006725/0.6523, allocations: 352 kB / 0.5514 GB, free: 3.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6523, allocations: 5.641 kB / 0.5514 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6524, allocations: 4 kB / 0.5514 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6524, allocations: 8.469 kB / 0.5514 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.6526, allocations: 82.38 kB / 0.5515 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.6527, allocations: 10.81 kB / 0.5515 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.653, allocations: 58.03 kB / 0.5515 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.653, allocations: 22.73 kB / 0.5516 GB, free: 3.703 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_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.0001633/0.6532, allocations: 147.9 kB / 0.5517 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.6533, allocations: 31.62 kB / 0.5517 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.6547, allocations: 1.146 MB / 0.5529 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.6548, allocations: 19.22 kB / 0.5529 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6548, allocations: 3.953 kB / 0.5529 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.6548, allocations: 4 kB / 0.5529 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.6555, allocations: 0.6664 MB / 0.5535 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6555, allocations: 0 / 0.5535 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.6557, allocations: 62.2 kB / 0.5536 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6558, allocations: 0.5156 kB / 0.5536 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.6558, allocations: 4 kB / 0.5536 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6558, allocations: 0 / 0.5536 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6558, allocations: 0 / 0.5536 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.6566, allocations: 0.6377 MB / 0.5542 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.6568, allocations: 198.1 kB / 0.5544 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.6569, allocations: 7.234 kB / 0.5544 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.6571, allocations: 40.39 kB / 0.5545 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.6572, allocations: 19.97 kB / 0.5545 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.6572, allocations: 11.55 kB / 0.5545 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003847/0.6576, allocations: 333.5 kB / 0.5548 GB, free: 1.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6576, allocations: 0 / 0.5548 GB, free: 1.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003912/0.6615, allocations: 0.8545 MB / 0.5556 GB, free: 324 kB / 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.005293/0.6668, allocations: 2.079 MB / 0.5577 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.6676, allocations: 366.5 kB / 0.558 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6676, allocations: 4 kB / 0.558 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.668, allocations: 266.9 kB / 0.5583 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.669, allocations: 179.8 kB / 0.5585 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.6737, allocations: 2.854 MB / 0.5612 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.6742, allocations: 0.8783 MB / 0.5621 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000417/0.6746, allocations: 187.5 kB / 0.5623 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.6749, allocations: 188.1 kB / 0.5625 GB, free: 10.24 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6749, allocations: 0 / 0.5625 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07375/0.7486, allocations: 40.22 MB / 0.6017 GB, free: 2.359 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.7489, allocations: 255.8 kB / 0.602 GB, free: 2.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.905/4.654, allocations: 0 / 0.602 GB, free: 2.035 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat