Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2251/0.2251, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.00223, allocations: 87.84 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2987, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1777/0.4765, allocations: 152.4 MB / 0.6795 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.4786, allocations: 1.596 MB / 0.681 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.4787, allocations: 0 / 0.681 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.479, allocations: 55.67 kB / 0.6811 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009133/0.4799, allocations: 410 kB / 0.6815 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.4804, allocations: 171.4 kB / 0.6816 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.4807, allocations: 183.3 kB / 0.6818 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.4807, allocations: 7.984 kB / 0.6818 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.4809, allocations: 79.64 kB / 0.6819 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.481, allocations: 59.81 kB / 0.682 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.4811, allocations: 8 kB / 0.682 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.4822, allocations: 0.5963 MB / 0.6825 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.4822, allocations: 27.91 kB / 0.6826 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.4823, allocations: 55.78 kB / 0.6826 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.4829, allocations: 406.6 kB / 0.683 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.483, allocations: 0 / 0.683 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.483, allocations: 0 / 0.683 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.483, allocations: 0 / 0.683 GB, free: 5.086 MB / 0.5294 GB 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.0005323/0.4835, allocations: 438.9 kB / 0.6834 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4836, allocations: 12.02 kB / 0.6834 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.4836, allocations: 42.69 kB / 0.6835 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.4857, allocations: 196.6 kB / 0.6837 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.486, allocations: 215.6 kB / 0.6839 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.486, allocations: 4 kB / 0.6839 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.4861, allocations: 12 kB / 0.6839 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.4865, allocations: 204.5 kB / 0.6841 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4865, allocations: 3.938 kB / 0.6841 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.4866, allocations: 7.938 kB / 0.6841 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4866, allocations: 4 kB / 0.6841 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.4872, allocations: 231.8 kB / 0.6843 GB, free: 3.645 MB / 0.5294 GB 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.001633/0.4888, allocations: 0.663 MB / 0.685 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.4893, allocations: 182.4 kB / 0.6851 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.4895, allocations: 92.81 kB / 0.6852 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.4896, allocations: 97.09 kB / 0.6853 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4897, allocations: 34.56 kB / 0.6854 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.4897, allocations: 0 / 0.6854 GB, free: 2.488 MB / 0.5294 GB 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.005778/0.4955, allocations: 1.542 MB / 0.6869 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4955, allocations: 63.39 kB / 0.6869 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.4956, allocations: 105.8 kB / 0.687 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.4957, allocations: 33.7 kB / 0.6871 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.4957, allocations: 92.36 kB / 0.6871 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.4958, allocations: 75.42 kB / 0.6872 GB, free: 448 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.4959, allocations: 41.7 kB / 0.6873 GB, free: 400 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4961, allocations: 322.8 kB / 0.6876 GB, free: 68 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.4963, allocations: 88 kB / 0.6876 GB, free: 15.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.4965, allocations: 123.3 kB / 0.6878 GB, free: 15.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.497, allocations: 228.4 kB / 0.688 GB, free: 15.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.497, allocations: 0 / 0.688 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006404/0.4977, allocations: 293.6 kB / 0.6883 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4977, allocations: 7.938 kB / 0.6883 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4977, allocations: 0 / 0.6883 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.4979, allocations: 24.84 kB / 0.6883 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.4983, allocations: 51.91 kB / 0.6883 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003711/0.4987, allocations: 0.5407 MB / 0.6889 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.499, allocations: 12.02 kB / 0.6889 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.499, allocations: 8 kB / 0.6889 GB, free: 14.65 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.4992, allocations: 125.8 kB / 0.689 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.4992, allocations: 11.95 kB / 0.689 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/0.5, allocations: 317.3 kB / 0.6893 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5, allocations: 4 kB / 0.6893 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5, allocations: 0 / 0.6893 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.5, allocations: 7.969 kB / 0.6893 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.5012, allocations: 0.6874 MB / 0.69 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5012, allocations: 0 / 0.69 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.5016, allocations: 47.95 kB / 0.6901 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.63e-05/0.5017, allocations: 24.94 kB / 0.6901 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.5018, allocations: 4 kB / 0.6901 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5028, allocations: 1.373 MB / 0.6914 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5028, allocations: 3.938 kB / 0.6914 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008878/0.5037, allocations: 454.6 kB / 0.6919 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.5038, allocations: 89.08 kB / 0.6919 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.5038, allocations: 8 kB / 0.6919 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.5041, allocations: 8 kB / 0.692 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.5042, allocations: 15.97 kB / 0.692 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.5042, allocations: 15.98 kB / 0.692 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.5043, allocations: 87.28 kB / 0.6921 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5043, allocations: 0 / 0.6921 GB, free: 11.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005105/0.5048, allocations: 135.7 kB / 0.6922 GB, free: 10.97 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/0.5065, allocations: 1.145 MB / 0.6933 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006305/0.5072, allocations: 227.8 kB / 0.6935 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5072, allocations: 4 kB / 0.6935 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.5076, allocations: 234.9 kB / 0.6938 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.508, allocations: 43.97 kB / 0.6938 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.5111, allocations: 2.125 MB / 0.6959 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.5115, allocations: 0.7085 MB / 0.6966 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000289/0.5118, allocations: 61.7 kB / 0.6966 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.512, allocations: 43.41 kB / 0.6967 GB, free: 6.203 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.512, allocations: 0 / 0.6967 GB, free: 6.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.5472, allocations: 7.982 MB / 0.7045 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.51, allocations: 11.92 kB / 0.7045 GB, free: 14.34 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)