Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.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 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.0008671/0.0008672, allocations: 97.41 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009903/0.0009908, allocations: 172 kB / 16.58 MB, free: 5.656 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.643/1.643, allocations: 205.4 MB / 222.7 MB, free: 5.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3541/0.3541, allocations: 43.55 MB / 314.6 MB, free: 9.016 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: Performance of FrontEnd - loaded program: time 0.0004998/0.0005, allocations: 12 kB / 384 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3542/0.4698, allocations: 136.8 MB / 0.5661 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.4714, allocations: 1.393 MB / 0.5675 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.4715, allocations: 9.5 kB / 0.5675 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.4717, allocations: 31.81 kB / 0.5675 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006782/0.4724, allocations: 273.8 kB / 0.5678 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.4728, allocations: 127.6 kB / 0.5679 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.473, allocations: 215.1 kB / 0.5681 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.4731, allocations: 6.656 kB / 0.5681 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4732, allocations: 79.69 kB / 0.5682 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.4733, allocations: 55.83 kB / 0.5682 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.4734, allocations: 4 kB / 0.5682 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.4742, allocations: 431.2 kB / 0.5686 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.4742, allocations: 27.91 kB / 0.5687 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.4743, allocations: 45.64 kB / 0.5687 GB, free: 460 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.4746, allocations: 257.9 kB / 0.569 GB, free: 204 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4746, allocations: 0 / 0.569 GB, free: 204 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4746, allocations: 0 / 0.569 GB, free: 204 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.4746, allocations: 4 kB / 0.569 GB, free: 200 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004676/0.4751, allocations: 404.4 kB / 0.5693 GB, free: 15.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4751, allocations: 8.031 kB / 0.5693 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.4752, allocations: 49.25 kB / 0.5694 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.477, allocations: 194.1 kB / 0.5696 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.4772, allocations: 199 kB / 0.5698 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4773, allocations: 8.938 kB / 0.5698 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.4773, allocations: 13.72 kB / 0.5698 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.4777, allocations: 206.9 kB / 0.57 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4778, allocations: 0 / 0.57 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.4778, allocations: 0 / 0.57 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4778, allocations: 4 kB / 0.57 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.4783, allocations: 244.4 kB / 0.5702 GB, free: 14.8 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.4798, allocations: 0.6678 MB / 0.5709 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.4802, allocations: 184.2 kB / 0.5711 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.4804, allocations: 100.8 kB / 0.5712 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.4806, allocations: 89.09 kB / 0.5712 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.4806, allocations: 39.11 kB / 0.5713 GB, free: 13.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4806, allocations: 3.938 kB / 0.5713 GB, free: 13.66 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004903/0.4855, allocations: 1.535 MB / 0.5728 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.4856, allocations: 55.41 kB / 0.5728 GB, free: 11.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.714e-05/0.4857, allocations: 109.8 kB / 0.5729 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.4857, allocations: 33.7 kB / 0.573 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.4857, allocations: 100.3 kB / 0.5731 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.4858, allocations: 67 kB / 0.5731 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.4858, allocations: 8 kB / 0.5731 GB, free: 11.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.4859, allocations: 322.8 kB / 0.5734 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.4861, allocations: 87.95 kB / 0.5735 GB, free: 11.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.4864, allocations: 126 kB / 0.5736 GB, free: 11.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.4866, allocations: 99.98 kB / 0.5737 GB, free: 10.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4866, allocations: 0 / 0.5737 GB, free: 10.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005455/0.4871, allocations: 282.4 kB / 0.574 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4872, allocations: 4.094 kB / 0.574 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4872, allocations: 8 kB / 0.574 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.4873, allocations: 20.84 kB / 0.574 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.4877, allocations: 63.89 kB / 0.5741 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003189/0.4881, allocations: 0.5328 MB / 0.5746 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.4883, allocations: 18.89 kB / 0.5746 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.4883, allocations: 8 kB / 0.5746 GB, free: 10.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.4885, allocations: 132.6 kB / 0.5748 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.4885, allocations: 11.89 kB / 0.5748 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.4893, allocations: 315 kB / 0.5751 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4893, allocations: 3.984 kB / 0.5751 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4893, allocations: 7.953 kB / 0.5751 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4893, allocations: 0 / 0.5751 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4903, allocations: 0.6717 MB / 0.5758 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4903, allocations: 3.938 kB / 0.5758 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.4907, allocations: 51.89 kB / 0.5758 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-05/0.4908, allocations: 24.84 kB / 0.5758 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.4909, allocations: 11.98 kB / 0.5758 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008395/0.4917, allocations: 1.261 MB / 0.5771 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4917, allocations: 4.141 kB / 0.5771 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.4925, allocations: 447.1 kB / 0.5775 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.4925, allocations: 89.11 kB / 0.5776 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.4926, allocations: 19.3 kB / 0.5776 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4929, allocations: 8 kB / 0.5776 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.4929, allocations: 19.92 kB / 0.5776 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.4929, allocations: 15.98 kB / 0.5776 GB, free: 6.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.537e-05/0.493, allocations: 79.28 kB / 0.5777 GB, free: 6.598 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.493, allocations: 4 kB / 0.5777 GB, free: 6.594 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.4935, allocations: 127.9 kB / 0.5778 GB, free: 6.469 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.495, allocations: 1.116 MB / 0.5789 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005595/0.4956, allocations: 234.9 kB / 0.5792 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4956, allocations: 0 / 0.5792 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.496, allocations: 227.1 kB / 0.5794 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4964, allocations: 52.91 kB / 0.5794 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.4983, allocations: 1.153 MB / 0.5806 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4986, allocations: 0.7088 MB / 0.5812 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004113/0.499, allocations: 58.02 kB / 0.5813 GB, free: 2.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4992, allocations: 39.42 kB / 0.5813 GB, free: 2.762 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4992, allocations: 0 / 0.5813 GB, free: 2.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.5214, allocations: 7.553 MB / 0.5887 GB, free: 11.27 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/0.5217, allocations: 218 kB / 0.5889 GB, free: 11.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.339, allocations: 0 / 0.5889 GB, free: 11.02 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat