Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002322/0.002321, 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.19/2.19, 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.001167/0.001167, allocations: 90.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.2896/0.2896, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004535, allocations: 8 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 58.86 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5658/0.6924, allocations: 125.7 MB / 0.6016 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.695, allocations: 1.225 MB / 0.6028 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.6951, allocations: 4 kB / 0.6028 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.6954, allocations: 39.84 kB / 0.6028 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.6966, allocations: 287.1 kB / 0.6031 GB, free: 11.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.6972, allocations: 127.6 kB / 0.6032 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.6975, allocations: 119.8 kB / 0.6033 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.6976, allocations: 4 kB / 0.6033 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.6979, allocations: 79.73 kB / 0.6034 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.698, allocations: 43.84 kB / 0.6034 GB, free: 11.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.698, allocations: 4 kB / 0.6035 GB, free: 11.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.6995, allocations: 443.4 kB / 0.6039 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.6996, allocations: 31.89 kB / 0.6039 GB, free: 10.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.6997, allocations: 37.7 kB / 0.6039 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006593/0.7004, allocations: 245.9 kB / 0.6042 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.7004, allocations: 4 kB / 0.6042 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7004, allocations: 0 / 0.6042 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.7004, allocations: 0 / 0.6042 GB, free: 10.39 MB / 410.7 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.0006867/0.7011, allocations: 407.9 kB / 0.6046 GB, free: 9.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.7012, allocations: 12.03 kB / 0.6046 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.68e-05/0.7013, allocations: 42.55 kB / 0.6046 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.705, allocations: 195.6 kB / 0.6048 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.7054, allocations: 203 kB / 0.605 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.7054, allocations: 8.188 kB / 0.605 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.7055, allocations: 8 kB / 0.605 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.7062, allocations: 203 kB / 0.6052 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7063, allocations: 0 / 0.6052 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.7063, allocations: 8 kB / 0.6052 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.7064, allocations: 0 / 0.6052 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.7074, allocations: 240.4 kB / 0.6054 GB, free: 8.992 MB / 410.7 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.002897/0.7103, allocations: 0.6838 MB / 0.6061 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.7111, allocations: 186.4 kB / 0.6063 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.7113, allocations: 93.09 kB / 0.6064 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.7114, allocations: 30.81 kB / 0.6064 GB, free: 7.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.255e-06/0.7114, allocations: 0 / 0.6064 GB, free: 7.91 MB / 410.7 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.01002/0.7214, allocations: 1.544 MB / 0.6079 GB, free: 6.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.7215, allocations: 59.41 kB / 0.608 GB, free: 6.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.7217, allocations: 113.8 kB / 0.6081 GB, free: 6.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.7217, allocations: 25.7 kB / 0.6081 GB, free: 6.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.7218, allocations: 166.7 kB / 0.6083 GB, free: 5.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.116e-05/0.7219, allocations: 67 kB / 0.6083 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.722, allocations: 8 kB / 0.6083 GB, free: 5.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7221, allocations: 318.8 kB / 0.6086 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.7225, allocations: 95.94 kB / 0.6087 GB, free: 5.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.7229, allocations: 119.3 kB / 0.6088 GB, free: 5.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.7234, allocations: 95.98 kB / 0.6089 GB, free: 5.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7234, allocations: 0 / 0.6089 GB, free: 5.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001119/0.7245, allocations: 290.4 kB / 0.6092 GB, free: 4.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.7246, allocations: 6.656 kB / 0.6092 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7246, allocations: 0 / 0.6092 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.7248, allocations: 24.84 kB / 0.6092 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.7257, allocations: 55.91 kB / 0.6093 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004697/0.7261, allocations: 0.5407 MB / 0.6098 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.7267, allocations: 12.02 kB / 0.6098 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.7268, allocations: 12 kB / 0.6098 GB, free: 4.191 MB / 410.7 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.0001948/0.727, allocations: 125.8 kB / 0.61 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.7271, allocations: 7.906 kB / 0.61 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.7284, allocations: 315.2 kB / 0.6103 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.7284, allocations: 0 / 0.6103 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.7284, allocations: 11.89 kB / 0.6103 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.7284, allocations: 3.984 kB / 0.6103 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.7303, allocations: 0.6792 MB / 0.611 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.7303, allocations: 0 / 0.611 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/0.7311, allocations: 55.98 kB / 0.611 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.7313, allocations: 24.78 kB / 0.611 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.7313, allocations: 7.984 kB / 0.611 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.7326, allocations: 1.277 MB / 0.6123 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7326, allocations: 0 / 0.6123 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.7342, allocations: 491.3 kB / 0.6128 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/0.7343, allocations: 92.94 kB / 0.6128 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.7344, allocations: 4 kB / 0.6128 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.735, allocations: 20.05 kB / 0.6129 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.7351, allocations: 11.98 kB / 0.6129 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.7351, allocations: 8.859 kB / 0.6129 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.7352, allocations: 95.56 kB / 0.613 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7352, allocations: 0 / 0.613 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007911/0.736, allocations: 123.9 kB / 0.6131 GB, free: 0.582 MB / 410.7 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.00288/0.7389, allocations: 1.345 MB / 0.6144 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.74, allocations: 235.9 kB / 0.6146 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.74, allocations: 0 / 0.6146 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000669/0.7407, allocations: 234.5 kB / 0.6149 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.7413, allocations: 44.14 kB / 0.6149 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.7449, allocations: 1.648 MB / 0.6165 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.7453, allocations: 0.7049 MB / 0.6172 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.7457, allocations: 47.41 kB / 0.6172 GB, free: 12.17 MB / 426.7 MB Notification: Performance of SimCode: time 4.028e-06/0.7457, allocations: 0 / 0.6172 GB, free: 12.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.037/3.783, allocations: 5.793 MB / 0.6229 GB, free: 6.379 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat