Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001681, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.001199, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2951/0.2951, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004757, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1233, allocations: 58.87 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04379/0.1671, allocations: 25.41 MB / 0.5037 GB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02812/0.1953, allocations: 14.89 MB / 0.5182 GB, free: 0.832 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004852/0.1958, allocations: 7.938 kB / 0.5182 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008675/0.1967, allocations: 175.2 kB / 0.5184 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008653/0.1976, allocations: 227.3 kB / 0.5186 GB, free: 440 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3874/0.585, allocations: 4.709 MB / 0.5232 GB, free: 12.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.5863, allocations: 495.9 kB / 0.5237 GB, free: 12.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.5869, allocations: 189.8 kB / 0.5238 GB, free: 12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02999/0.6169, allocations: 8.828 MB / 0.5325 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.6176, allocations: 164.7 kB / 0.5326 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.6178, allocations: 14.66 kB / 0.5326 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01827/0.636, allocations: 6.165 MB / 0.5386 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.6363, allocations: 74.08 kB / 0.5387 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.6365, allocations: 95.86 kB / 0.5388 GB, free: 11.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007219/0.6438, allocations: 2.568 MB / 0.5413 GB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6438, allocations: 0 / 0.5413 GB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6438, allocations: 2.875 kB / 0.5413 GB, free: 10.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.6439, allocations: 0 / 0.5413 GB, free: 10.96 MB / 362.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.003353/0.6472, allocations: 0.9829 MB / 0.5423 GB, free: 10.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6473, allocations: 9.312 kB / 0.5423 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.36e-05/0.6474, allocations: 63.62 kB / 0.5423 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.6496, allocations: 198.4 kB / 0.5425 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.6502, allocations: 328.5 kB / 0.5429 GB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.6502, allocations: 25.02 kB / 0.5429 GB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.6503, allocations: 21.88 kB / 0.5429 GB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.6521, allocations: 0.4947 MB / 0.5434 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.6522, allocations: 2.719 kB / 0.5434 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.6522, allocations: 13.62 kB / 0.5434 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.6523, allocations: 5.406 kB / 0.5434 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.6542, allocations: 442.2 kB / 0.5438 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.6586, allocations: 2.436 MB / 0.5462 GB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.6606, allocations: 363.9 kB / 0.5465 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05498/0.7156, allocations: 16.63 MB / 0.5628 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.7156, allocations: 42.2 kB / 0.5628 GB, free: 5.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.196e-06/0.7157, allocations: 0 / 0.5628 GB, free: 5.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.003407/0.7191, allocations: 0.5739 MB / 0.5634 GB, free: 4.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.7192, allocations: 105.7 kB / 0.5635 GB, free: 4.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.7197, allocations: 320.8 kB / 0.5638 GB, free: 4.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.7198, allocations: 32.95 kB / 0.5638 GB, free: 4.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.72, allocations: 254.1 kB / 0.5641 GB, free: 4.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.7201, allocations: 52.91 kB / 0.5641 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.7201, allocations: 10 kB / 0.5641 GB, free: 4.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7203, allocations: 317 kB / 0.5644 GB, free: 3.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.7208, allocations: 101.4 kB / 0.5645 GB, free: 3.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.7215, allocations: 225.9 kB / 0.5647 GB, free: 3.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.7221, allocations: 122.7 kB / 0.5649 GB, free: 3.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7221, allocations: 4 kB / 0.5649 GB, free: 3.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001392/0.7235, allocations: 339.8 kB / 0.5652 GB, free: 3.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.7236, allocations: 10.66 kB / 0.5652 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.7236, allocations: 7.953 kB / 0.5652 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.7236, allocations: 7.984 kB / 0.5652 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.7242, allocations: 77.14 kB / 0.5653 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.7242, allocations: 4 kB / 0.5653 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.7248, allocations: 58.14 kB / 0.5653 GB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.7249, allocations: 18.34 kB / 0.5654 GB, free: 2.895 MB / 378.7 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.000336/0.7252, allocations: 157.4 kB / 0.5655 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.7253, allocations: 31.62 kB / 0.5655 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.7279, allocations: 1.142 MB / 0.5667 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/0.728, allocations: 19.09 kB / 0.5667 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.728, allocations: 0 / 0.5667 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.728, allocations: 0 / 0.5667 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.7293, allocations: 0.6669 MB / 0.5673 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7293, allocations: 0 / 0.5673 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.7299, allocations: 59.95 kB / 0.5674 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.7299, allocations: 3.953 kB / 0.5674 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.7299, allocations: 7.672 kB / 0.5674 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.515e-06/0.7299, allocations: 4 kB / 0.5674 GB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7299, allocations: 0 / 0.5674 GB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.7316, allocations: 0.6377 MB / 0.568 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.7319, allocations: 200.1 kB / 0.5682 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.732, allocations: 7 kB / 0.5682 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.7325, allocations: 25.5 kB / 0.5682 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7326, allocations: 22.08 kB / 0.5683 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.7327, allocations: 11.5 kB / 0.5683 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006379/0.7333, allocations: 338.2 kB / 0.5686 GB, free: 328 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7333, allocations: 0 / 0.5686 GB, free: 328 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.003779/0.7371, allocations: 0.8408 MB / 0.5694 GB, free: 15.51 MB / 394.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: 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.008799/0.746, allocations: 2.081 MB / 0.5715 GB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.7475, allocations: 374.2 kB / 0.5718 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7475, allocations: 0 / 0.5718 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.7481, allocations: 264.6 kB / 0.5721 GB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.7498, allocations: 186.1 kB / 0.5722 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.7589, allocations: 5.106 MB / 0.5772 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.7595, allocations: 0.8867 MB / 0.5781 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.7598, allocations: 184.7 kB / 0.5783 GB, free: 7.309 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7599, allocations: 0 / 0.5783 GB, free: 7.309 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.528/4.288, allocations: 25.09 MB / 0.6028 GB, free: 14.44 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat