Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_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.001406/0.001405, allocations: 102.1 kB / 16.99 MB, free: 5.941 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.001448/0.001448, allocations: 182 kB / 17.87 MB, free: 5.609 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.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 44.23 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 61.93 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4644/0.5983, allocations: 125.7 MB / 0.5832 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.5998, allocations: 1.31 MB / 0.5845 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.5999, allocations: 0 / 0.5845 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.6001, allocations: 39.86 kB / 0.5846 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006777/0.6008, allocations: 295.1 kB / 0.5848 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.6012, allocations: 123.7 kB / 0.585 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.6014, allocations: 111.8 kB / 0.5851 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.6014, allocations: 11.98 kB / 0.5851 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.6016, allocations: 79.75 kB / 0.5852 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.6017, allocations: 51.77 kB / 0.5852 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.6017, allocations: 4 kB / 0.5852 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008234/0.6026, allocations: 447.4 kB / 0.5856 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.6026, allocations: 24.94 kB / 0.5857 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.6027, allocations: 45.64 kB / 0.5857 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.6031, allocations: 266.4 kB / 0.586 GB, free: 1.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.6031, allocations: 0 / 0.586 GB, free: 1.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6031, allocations: 0 / 0.586 GB, free: 1.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.6031, allocations: 0 / 0.586 GB, free: 1.414 MB / 414.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.0004682/0.6036, allocations: 416 kB / 0.5863 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6036, allocations: 8.031 kB / 0.5864 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.6037, allocations: 38.56 kB / 0.5864 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.6059, allocations: 203.6 kB / 0.5866 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.6061, allocations: 199 kB / 0.5868 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.6061, allocations: 16.08 kB / 0.5868 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.6062, allocations: 19.91 kB / 0.5868 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.6066, allocations: 195 kB / 0.587 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.6066, allocations: 4 kB / 0.587 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.6067, allocations: 4 kB / 0.587 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6067, allocations: 0 / 0.587 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.6072, allocations: 236.4 kB / 0.5872 GB, free: 4 kB / 414.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.001798/0.609, allocations: 0.6726 MB / 0.5879 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.6095, allocations: 190.4 kB / 0.5881 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.6096, allocations: 93.09 kB / 0.5882 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6097, allocations: 34.56 kB / 0.5882 GB, free: 14.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.6097, allocations: 0 / 0.5882 GB, free: 14.93 MB / 430.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.005555/0.6152, allocations: 1.536 MB / 0.5897 GB, free: 13.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.6153, allocations: 51.41 kB / 0.5897 GB, free: 13.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.6154, allocations: 113.8 kB / 0.5898 GB, free: 13.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.6154, allocations: 25.7 kB / 0.5899 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.6155, allocations: 100.3 kB / 0.59 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.6155, allocations: 67 kB / 0.59 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.6156, allocations: 4 kB / 0.59 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6157, allocations: 326.8 kB / 0.5903 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.6159, allocations: 87.95 kB / 0.5904 GB, free: 12.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.6161, allocations: 123.3 kB / 0.5905 GB, free: 12.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.6163, allocations: 101.5 kB / 0.5906 GB, free: 12.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6163, allocations: 0 / 0.5906 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000589/0.6169, allocations: 280.5 kB / 0.5909 GB, free: 11.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.617, allocations: 11.95 kB / 0.5909 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.617, allocations: 0 / 0.5909 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.6171, allocations: 24.78 kB / 0.5909 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.6176, allocations: 64.86 kB / 0.591 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003491/0.6179, allocations: 0.5328 MB / 0.5915 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.6182, allocations: 8.016 kB / 0.5915 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.6183, allocations: 12 kB / 0.5916 GB, free: 11.29 MB / 430.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.0001438/0.6184, allocations: 134.3 kB / 0.5917 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.6185, allocations: 11.91 kB / 0.5917 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007377/0.6193, allocations: 319 kB / 0.592 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6193, allocations: 4 kB / 0.592 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6193, allocations: 4 kB / 0.592 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6193, allocations: 0 / 0.592 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6203, allocations: 0.6663 MB / 0.5927 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6203, allocations: 7.938 kB / 0.5927 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.6208, allocations: 51.89 kB / 0.5927 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.285e-05/0.6209, allocations: 20.84 kB / 0.5927 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.6209, allocations: 15.94 kB / 0.5927 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007711/0.6217, allocations: 1.268 MB / 0.594 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6217, allocations: 4.031 kB / 0.594 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.6225, allocations: 482.6 kB / 0.5944 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.6225, allocations: 85.05 kB / 0.5945 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.6226, allocations: 12.06 kB / 0.5945 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.6229, allocations: 11.98 kB / 0.5946 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.623, allocations: 15.94 kB / 0.5946 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.623, allocations: 15.98 kB / 0.5946 GB, free: 7.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.623, allocations: 83.27 kB / 0.5947 GB, free: 7.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6231, allocations: 0 / 0.5947 GB, free: 7.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00051/0.6236, allocations: 131.9 kB / 0.5948 GB, free: 7.688 MB / 430.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.001591/0.6252, allocations: 1.36 MB / 0.5961 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.6257, allocations: 223.8 kB / 0.5963 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6258, allocations: 0 / 0.5963 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.6261, allocations: 234.5 kB / 0.5966 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.6265, allocations: 52.2 kB / 0.5966 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.6285, allocations: 1.616 MB / 0.5982 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6287, allocations: 0.7049 MB / 0.5989 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004022/0.6292, allocations: 53.92 kB / 0.5989 GB, free: 3.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.6293, allocations: 47.41 kB / 0.599 GB, free: 3.25 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6293, allocations: 0 / 0.599 GB, free: 3.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.6491, allocations: 7.505 MB / 0.6063 GB, free: 11.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.6494, allocations: 209.2 kB / 0.6065 GB, free: 11.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.592, allocations: 4.062 kB / 0.6065 GB, free: 11.66 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat