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.001272/0.001272, allocations: 117.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 211.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247 MB, free: 10.43 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.2123/0.2123, allocations: 46.12 MB / 344.4 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.002419/0.002419, allocations: 83.86 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3151, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.183/0.4982, allocations: 152.4 MB / 0.6795 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.5005, allocations: 1.6 MB / 0.681 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.5006, allocations: 8 kB / 0.681 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.501, allocations: 47.72 kB / 0.6811 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.5021, allocations: 406 kB / 0.6815 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.5026, allocations: 171.2 kB / 0.6816 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.5029, allocations: 183.2 kB / 0.6818 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.503, allocations: 4 kB / 0.6818 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.5032, allocations: 91.62 kB / 0.6819 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.5033, allocations: 51.83 kB / 0.6819 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.5034, allocations: 8 kB / 0.682 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.5045, allocations: 0.6002 MB / 0.6825 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.5046, allocations: 35.89 kB / 0.6826 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.5047, allocations: 43.8 kB / 0.6826 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.5055, allocations: 410.6 kB / 0.683 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.5055, allocations: 0 / 0.683 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5055, allocations: 0 / 0.683 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5055, allocations: 0 / 0.683 GB, free: 5.07 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.0006394/0.5062, allocations: 442.9 kB / 0.6834 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5062, allocations: 8.031 kB / 0.6834 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.5063, allocations: 42.73 kB / 0.6835 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.5086, allocations: 192.6 kB / 0.6837 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.5088, allocations: 219.5 kB / 0.6839 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5089, allocations: 12 kB / 0.6839 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.5089, allocations: 12 kB / 0.6839 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.5094, allocations: 196.5 kB / 0.6841 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5094, allocations: 0 / 0.6841 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.5095, allocations: 11.94 kB / 0.6841 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5095, allocations: 0 / 0.6841 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.5101, allocations: 239.8 kB / 0.6843 GB, free: 3.625 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.001743/0.5119, allocations: 0.6591 MB / 0.685 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.5123, allocations: 186.4 kB / 0.6851 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.5126, allocations: 92.81 kB / 0.6852 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.5127, allocations: 97.09 kB / 0.6853 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5128, allocations: 34.5 kB / 0.6854 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.5128, allocations: 0 / 0.6854 GB, free: 2.469 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.005721/0.5185, allocations: 1.545 MB / 0.6869 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.5186, allocations: 51.41 kB / 0.6869 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.5187, allocations: 113.8 kB / 0.687 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.5187, allocations: 25.7 kB / 0.687 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.5188, allocations: 108.3 kB / 0.6871 GB, free: 500 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.5189, allocations: 67.42 kB / 0.6872 GB, free: 432 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.519, allocations: 49.69 kB / 0.6873 GB, free: 376 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5191, allocations: 314.8 kB / 0.6876 GB, free: 52 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.5194, allocations: 92.02 kB / 0.6876 GB, free: 15.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.5196, allocations: 126.4 kB / 0.6878 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.5201, allocations: 228.3 kB / 0.688 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5201, allocations: 0 / 0.688 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006595/0.5208, allocations: 289.8 kB / 0.6883 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5208, allocations: 11.94 kB / 0.6883 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5208, allocations: 0 / 0.6883 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.521, allocations: 24.84 kB / 0.6883 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.5214, allocations: 51.95 kB / 0.6883 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004067/0.5218, allocations: 0.5446 MB / 0.6889 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.5221, allocations: 11.98 kB / 0.6889 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.5222, allocations: 8 kB / 0.6889 GB, free: 14.62 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.0001366/0.5223, allocations: 125.8 kB / 0.689 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.5224, allocations: 7.953 kB / 0.689 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007716/0.5232, allocations: 321 kB / 0.6893 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5232, allocations: 0 / 0.6893 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5232, allocations: 4 kB / 0.6893 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5232, allocations: 3.984 kB / 0.6893 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5244, allocations: 0.678 MB / 0.69 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5244, allocations: 0 / 0.69 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.5248, allocations: 59.89 kB / 0.6901 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/0.5249, allocations: 20.94 kB / 0.6901 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.525, allocations: 11.98 kB / 0.6901 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.526, allocations: 1.365 MB / 0.6914 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.526, allocations: 0 / 0.6914 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.5269, allocations: 458.7 kB / 0.6919 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.527, allocations: 85.09 kB / 0.6919 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.5271, allocations: 4 kB / 0.6919 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.5274, allocations: 11.98 kB / 0.692 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.5274, allocations: 15.98 kB / 0.692 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.5275, allocations: 12.05 kB / 0.692 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.619e-05/0.5275, allocations: 91.27 kB / 0.6921 GB, free: 11.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5275, allocations: 0 / 0.6921 GB, free: 11.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005006/0.528, allocations: 131.7 kB / 0.6922 GB, free: 10.96 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.001754/0.5298, allocations: 1.151 MB / 0.6933 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006222/0.5304, allocations: 227.8 kB / 0.6935 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5304, allocations: 0 / 0.6935 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.5309, allocations: 234.8 kB / 0.6938 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.5313, allocations: 52.42 kB / 0.6938 GB, free: 9.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.5344, allocations: 2.128 MB / 0.6959 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5348, allocations: 0.7085 MB / 0.6966 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002856/0.5351, allocations: 57.39 kB / 0.6966 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.5352, allocations: 35.42 kB / 0.6967 GB, free: 6.195 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.5352, allocations: 4 kB / 0.6967 GB, free: 6.191 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.5697, allocations: 7.977 MB / 0.7045 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.54, allocations: 15.98 kB / 0.7045 GB, free: 14.33 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)