Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.001258/0.001258, allocations: 99.05 kB / 16.94 MB, free: 5.98 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.0009469/0.0009467, allocations: 176.4 kB / 17.82 MB, free: 5.652 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.474/1.474, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.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.0005235/0.0005236, allocations: 12 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3842/0.4946, allocations: 125.7 MB / 454.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.4961, allocations: 1.237 MB / 455.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.4962, allocations: 0 / 455.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.4964, allocations: 43.8 kB / 455.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006132/0.4971, allocations: 279.1 kB / 455.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.4975, allocations: 131.7 kB / 455.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.4977, allocations: 119.7 kB / 455.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.4977, allocations: 4 kB / 455.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.4979, allocations: 79.75 kB / 456 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.498, allocations: 47.89 kB / 456 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.498, allocations: 7.938 kB / 456 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.4988, allocations: 431.4 kB / 456.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.4989, allocations: 19.97 kB / 456.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.4989, allocations: 45.64 kB / 456.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.4993, allocations: 269.2 kB / 456.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.4993, allocations: 0 / 456.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4993, allocations: 0 / 456.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4993, allocations: 0 / 456.8 MB, free: 8.332 MB / 350.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.0004636/0.4998, allocations: 404.1 kB / 457.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4998, allocations: 8.031 kB / 457.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.4999, allocations: 38.56 kB / 457.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.502, allocations: 196.1 kB / 457.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.5023, allocations: 218.7 kB / 457.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.5023, allocations: 8.188 kB / 457.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.5023, allocations: 4 kB / 457.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.5028, allocations: 207 kB / 457.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5028, allocations: 0 / 457.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.5028, allocations: 8 kB / 457.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5028, allocations: 0 / 457.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.5034, allocations: 236.4 kB / 458.1 MB, free: 6.934 MB / 350.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.001633/0.505, allocations: 0.68 MB / 458.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.5054, allocations: 186.5 kB / 459 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.5056, allocations: 93.09 kB / 459 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5056, allocations: 34.56 kB / 459.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.5056, allocations: 0 / 459.1 MB, free: 5.852 MB / 350.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.005512/0.5112, allocations: 1.536 MB / 460.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5112, allocations: 51.41 kB / 460.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.5113, allocations: 117.8 kB / 460.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.5114, allocations: 29.69 kB / 460.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.5114, allocations: 100.3 kB / 460.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.5115, allocations: 70.94 kB / 461 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.5115, allocations: 4 kB / 461 MB, free: 3.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5117, allocations: 318.8 kB / 461.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.5119, allocations: 99.8 kB / 461.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.5122, allocations: 115.4 kB / 461.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.5124, allocations: 95.98 kB / 461.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5124, allocations: 4 kB / 461.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005908/0.513, allocations: 294.2 kB / 461.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5131, allocations: 8 kB / 461.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5131, allocations: 0 / 461.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.5132, allocations: 20.84 kB / 461.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.5137, allocations: 63.98 kB / 462 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004021/0.5141, allocations: 0.529 MB / 462.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.5144, allocations: 11.92 kB / 462.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.5144, allocations: 12 kB / 462.5 MB, free: 2.195 MB / 350.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.0001414/0.5146, allocations: 130 kB / 462.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.5146, allocations: 15.89 kB / 462.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.5154, allocations: 315 kB / 463 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5154, allocations: 8 kB / 463 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5154, allocations: 0 / 463 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5154, allocations: 3.984 kB / 463 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5164, allocations: 0.6641 MB / 463.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5164, allocations: 8.031 kB / 463.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.5169, allocations: 47.95 kB / 463.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.172e-05/0.517, allocations: 24.8 kB / 463.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.517, allocations: 11.98 kB / 463.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008791/0.5179, allocations: 1.271 MB / 465 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5179, allocations: 0 / 465 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.5187, allocations: 484 kB / 465.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.5187, allocations: 85 kB / 465.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.5188, allocations: 8 kB / 465.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.5191, allocations: 23.89 kB / 465.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.5192, allocations: 15.94 kB / 465.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.5192, allocations: 15.98 kB / 465.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.5192, allocations: 91.2 kB / 465.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5193, allocations: 0 / 465.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004953/0.5198, allocations: 131.9 kB / 465.9 MB, free: 14.59 MB / 366.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.001532/0.5213, allocations: 1.344 MB / 467.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005587/0.5219, allocations: 231.8 kB / 467.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5219, allocations: 0 / 467.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.5222, allocations: 234.4 kB / 467.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.5226, allocations: 50.12 kB / 467.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.5246, allocations: 1.608 MB / 469.3 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.5248, allocations: 0.7127 MB / 470 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004156/0.5253, allocations: 57.38 kB / 470.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5254, allocations: 39.41 kB / 470.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5254, allocations: 0 / 470.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.5448, allocations: 7.568 MB / 477.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.545, allocations: 214.6 kB / 477.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.516, allocations: 3.938 kB / 477.9 MB, free: 2.348 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat