Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.0009437/0.0009437, allocations: 98.11 kB / 16.94 MB, free: 6.441 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.0009927/0.0009927, allocations: 188.6 kB / 17.83 MB, free: 6.008 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.466/1.466, allocations: 205.4 MB / 224 MB, free: 13.16 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.0007838/0.0007839, allocations: 11.44 kB / 280.8 MB, free: 3.668 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1268, allocations: 47.58 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3947/0.5216, allocations: 125.9 MB / 454.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.5253, allocations: 2.511 MB / 456.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.5255, allocations: 7.938 kB / 456.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.5259, allocations: 43.83 kB / 456.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.5285, allocations: 0.7088 MB / 457.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.5291, allocations: 157.8 kB / 457.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.5295, allocations: 211.6 kB / 458 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.5296, allocations: 13.08 kB / 458 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.53, allocations: 163.5 kB / 458.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.5302, allocations: 87.72 kB / 458.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.5303, allocations: 8 kB / 458.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.5332, allocations: 1.084 MB / 459.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.5333, allocations: 67.83 kB / 459.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.5334, allocations: 65.64 kB / 459.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.5346, allocations: 0.5876 MB / 460.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5347, allocations: 0 / 460.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5347, allocations: 0 / 460.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.5347, allocations: 0 / 460.1 MB, free: 5.059 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001111/0.5358, allocations: 0.496 MB / 460.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5359, allocations: 8.031 kB / 460.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.536, allocations: 58.55 kB / 460.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.5376, allocations: 199.5 kB / 460.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.538, allocations: 242.7 kB / 461.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.538, allocations: 12.38 kB / 461.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.5381, allocations: 23.91 kB / 461.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.5387, allocations: 369.7 kB / 461.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5387, allocations: 4 kB / 461.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.5388, allocations: 8 kB / 461.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5388, allocations: 7.984 kB / 461.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006248/0.5394, allocations: 407.7 kB / 461.9 MB, free: 3.145 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.001765/0.5412, allocations: 0.8087 MB / 462.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.5417, allocations: 217.1 kB / 462.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.5431, allocations: 0.6792 MB / 463.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5432, allocations: 42.56 kB / 463.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/0.5432, allocations: 0 / 463.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001198/0.5444, allocations: 363.8 kB / 464 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.5444, allocations: 85.06 kB / 464.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.721e-05/0.5445, allocations: 117.8 kB / 464.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.5446, allocations: 33.7 kB / 464.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.5447, allocations: 112.4 kB / 464.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.5448, allocations: 102.5 kB / 464.4 MB, free: 380 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.5448, allocations: 7.938 kB / 464.4 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.545, allocations: 330.8 kB / 464.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.5452, allocations: 92.61 kB / 464.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.5454, allocations: 191.4 kB / 465 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.5457, allocations: 124.1 kB / 465.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5457, allocations: 0 / 465.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005988/0.5463, allocations: 333.1 kB / 465.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.5463, allocations: 4 kB / 465.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5463, allocations: 4.312 kB / 465.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.5464, allocations: 11.98 kB / 465.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.5467, allocations: 79.83 kB / 465.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.5467, allocations: 7.953 kB / 465.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.547, allocations: 31.73 kB / 465.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.5471, allocations: 16 kB / 465.6 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.5472, allocations: 141.7 kB / 465.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.5473, allocations: 15.91 kB / 465.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006992/0.5481, allocations: 326.6 kB / 466.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5481, allocations: 4 kB / 466.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5481, allocations: 0 / 466.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.5481, allocations: 11.94 kB / 466.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.5487, allocations: 326.9 kB / 466.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.5487, allocations: 0.875 kB / 466.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.549, allocations: 67.83 kB / 466.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5491, allocations: 0 / 466.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5491, allocations: 12 kB / 466.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5491, allocations: 4 kB / 466.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5491, allocations: 0 / 466.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.5499, allocations: 0.5231 MB / 467 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.55, allocations: 96.84 kB / 467.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.55, allocations: 12.06 kB / 467.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.5503, allocations: 15.98 kB / 467.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.5504, allocations: 15.94 kB / 467.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.5504, allocations: 19.98 kB / 467.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.725e-05/0.5505, allocations: 87.27 kB / 467.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5505, allocations: 0 / 467.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009205/0.5514, allocations: 219.8 kB / 467.5 MB, free: 13.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/0.5535, allocations: 1.38 MB / 468.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.554, allocations: 263.6 kB / 469.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.554, allocations: 0 / 469.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.5542, allocations: 132.9 kB / 469.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.5548, allocations: 80.44 kB / 469.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5579, allocations: 3.252 MB / 472.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.5583, allocations: 0.7365 MB / 473.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003994/0.5587, allocations: 69.94 kB / 473.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.5589, allocations: 67.34 kB / 473.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5589, allocations: 4 kB / 473.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.5852, allocations: 9.93 MB / 483.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.5855, allocations: 175.6 kB / 483.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.754, allocations: 0 / 483.6 MB, free: 12.85 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat