Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009089/0.0009089, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 45.91 MB / 344.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002904, allocations: 15.92 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 63.46 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03182/0.1705, allocations: 28.02 MB / 0.4977 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3536/0.5242, allocations: 16.36 MB / 0.5137 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004565/0.5247, allocations: 9.625 kB / 0.5137 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.5253, allocations: 169 kB / 0.5139 GB, free: 11.64 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.0007846/0.5261, allocations: 268.5 kB / 0.5141 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01864/0.5448, allocations: 4.644 MB / 0.5187 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.5468, allocations: 0.9547 MB / 0.5196 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.5473, allocations: 194 kB / 0.5198 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01699/0.5643, allocations: 8.931 MB / 0.5285 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.5649, allocations: 237.4 kB / 0.5287 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.565, allocations: 13.12 kB / 0.5287 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.5779, allocations: 6.02 MB / 0.5346 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.5781, allocations: 67.27 kB / 0.5347 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.5783, allocations: 99.77 kB / 0.5348 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005631/0.584, allocations: 2.587 MB / 0.5373 GB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.584, allocations: 0 / 0.5373 GB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.584, allocations: 0 / 0.5373 GB, free: 8.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.584, allocations: 1.531 kB / 0.5373 GB, free: 8.93 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.002523/0.5866, allocations: 0.9906 MB / 0.5383 GB, free: 7.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5866, allocations: 12.03 kB / 0.5383 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.771e-05/0.5867, allocations: 62.34 kB / 0.5383 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.5882, allocations: 213.3 kB / 0.5385 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.5885, allocations: 325.9 kB / 0.5389 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5886, allocations: 21.75 kB / 0.5389 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.5886, allocations: 25.69 kB / 0.5389 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.5897, allocations: 0.4932 MB / 0.5394 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5897, allocations: 7.938 kB / 0.5394 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.5897, allocations: 13.58 kB / 0.5394 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5898, allocations: 4 kB / 0.5394 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.5908, allocations: 443 kB / 0.5398 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.5932, allocations: 2.44 MB / 0.5422 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/0.5942, allocations: 353.1 kB / 0.5425 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.5945, allocations: 118.3 kB / 0.5427 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03054/0.625, allocations: 18.47 MB / 0.5607 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.6251, allocations: 37.05 kB / 0.5607 GB, free: 15.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.6251, allocations: 0 / 0.5607 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002012/0.6272, allocations: 0.5714 MB / 0.5613 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.6272, allocations: 104.8 kB / 0.5614 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.6276, allocations: 318 kB / 0.5617 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.6277, allocations: 28.95 kB / 0.5617 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.6278, allocations: 198.9 kB / 0.5619 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.6279, allocations: 64.02 kB / 0.562 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.6279, allocations: 7.125 kB / 0.562 GB, free: 14.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6281, allocations: 339.5 kB / 0.5623 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.6283, allocations: 104.5 kB / 0.5624 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.6287, allocations: 225.8 kB / 0.5626 GB, free: 13.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.629, allocations: 124.1 kB / 0.5627 GB, free: 13.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.629, allocations: 4 kB / 0.5627 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007239/0.6298, allocations: 356.1 kB / 0.5631 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6298, allocations: 4.469 kB / 0.5631 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6298, allocations: 8 kB / 0.5631 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6298, allocations: 8 kB / 0.5631 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.6301, allocations: 70.77 kB / 0.5632 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.6301, allocations: 8 kB / 0.5632 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.6304, allocations: 68.12 kB / 0.5632 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.6305, allocations: 13.69 kB / 0.5633 GB, free: 12.87 MB / 414.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.0001754/0.6306, allocations: 150.5 kB / 0.5634 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.6307, allocations: 39.52 kB / 0.5634 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.6321, allocations: 1.144 MB / 0.5646 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.6322, allocations: 11.61 kB / 0.5646 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6322, allocations: 0 / 0.5646 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6322, allocations: 0 / 0.5646 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007183/0.6329, allocations: 0.6686 MB / 0.5652 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6329, allocations: 3.953 kB / 0.5652 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.6332, allocations: 63.88 kB / 0.5653 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6332, allocations: 2.844 kB / 0.5653 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.6332, allocations: 6.312 kB / 0.5653 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6332, allocations: 0 / 0.5653 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6332, allocations: 0 / 0.5653 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/0.634, allocations: 0.6318 MB / 0.5659 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.6342, allocations: 210.9 kB / 0.5661 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.6343, allocations: 3.062 kB / 0.5661 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.6345, allocations: 23.97 kB / 0.5661 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6346, allocations: 22.41 kB / 0.5662 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.6346, allocations: 5.75 kB / 0.5662 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004627/0.6351, allocations: 342.2 kB / 0.5665 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.394e-06/0.6351, allocations: 4 kB / 0.5665 GB, free: 10.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003515/0.6386, allocations: 0.8565 MB / 0.5673 GB, free: 9.453 MB / 414.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.00607/0.6447, allocations: 2.083 MB / 0.5694 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008637/0.6456, allocations: 371.7 kB / 0.5697 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6456, allocations: 0 / 0.5697 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.646, allocations: 268.4 kB / 0.57 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6471, allocations: 181.9 kB / 0.5701 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.6529, allocations: 2.847 MB / 0.5729 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.6534, allocations: 0.8784 MB / 0.5738 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004756/0.6539, allocations: 191.3 kB / 0.574 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.6541, allocations: 181.4 kB / 0.5741 GB, free: 3.332 MB / 414.1 MB Notification: Performance of SimCode: time 1.694e-06/0.6541, allocations: 8 kB / 0.5741 GB, free: 3.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07071/0.7248, allocations: 40.29 MB / 0.6135 GB, free: 11.29 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.7251, allocations: 252.4 kB / 0.6137 GB, free: 11.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/4.743, allocations: 0 / 0.6137 GB, free: 11.04 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat