Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_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.001035/0.001035, allocations: 96.22 kB / 16.99 MB, free: 5.941 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.001181/0.001181, allocations: 180.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.212/0.212, allocations: 44.22 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.474/0.6197, allocations: 125.9 MB / 0.5835 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.6232, allocations: 2.591 MB / 0.586 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.6233, allocations: 0 / 0.586 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.6236, allocations: 47.77 kB / 0.586 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.6259, allocations: 0.7166 MB / 0.5867 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.6263, allocations: 163.9 kB / 0.5869 GB, free: 444 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.6267, allocations: 215.6 kB / 0.5871 GB, free: 228 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.83e-05/0.6268, allocations: 13.08 kB / 0.5871 GB, free: 212 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.6272, allocations: 159.6 kB / 0.5873 GB, free: 52 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.6274, allocations: 91.77 kB / 0.5874 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.6274, allocations: 8 kB / 0.5874 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.6302, allocations: 1.096 MB / 0.5884 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.6303, allocations: 67.84 kB / 0.5885 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.6303, allocations: 61.64 kB / 0.5886 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.6314, allocations: 0.5939 MB / 0.5891 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6314, allocations: 0 / 0.5891 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6314, allocations: 0 / 0.5891 GB, free: 14.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.6314, allocations: 0 / 0.5891 GB, free: 14.14 MB / 430.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.0008211/0.6323, allocations: 0.4999 MB / 0.5896 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.6323, allocations: 8.031 kB / 0.5896 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.21e-05/0.6324, allocations: 54.55 kB / 0.5897 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.6338, allocations: 211.5 kB / 0.5899 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.6341, allocations: 234.8 kB / 0.5901 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.6342, allocations: 16.33 kB / 0.5901 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.6342, allocations: 20 kB / 0.5902 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.6348, allocations: 365.7 kB / 0.5905 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6348, allocations: 6.312 kB / 0.5905 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.6349, allocations: 12 kB / 0.5905 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.6349, allocations: 4 kB / 0.5905 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.6355, allocations: 403.6 kB / 0.5909 GB, free: 12.23 MB / 430.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.001678/0.6372, allocations: 0.8085 MB / 0.5917 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.6376, allocations: 217.1 kB / 0.5919 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/0.6391, allocations: 0.7697 MB / 0.5927 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.6392, allocations: 38.56 kB / 0.5927 GB, free: 10.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/0.6392, allocations: 0 / 0.5927 GB, free: 10.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001174/0.6403, allocations: 365.1 kB / 0.593 GB, free: 9.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.6404, allocations: 81.11 kB / 0.5931 GB, free: 9.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6405, allocations: 109.8 kB / 0.5932 GB, free: 9.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.6406, allocations: 33.7 kB / 0.5933 GB, free: 9.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.6407, allocations: 120.3 kB / 0.5934 GB, free: 9.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/0.6407, allocations: 106.5 kB / 0.5935 GB, free: 9.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.6408, allocations: 8 kB / 0.5935 GB, free: 9.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6409, allocations: 322.8 kB / 0.5938 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.6411, allocations: 96.61 kB / 0.5939 GB, free: 8.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.6413, allocations: 179.5 kB / 0.594 GB, free: 8.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.6415, allocations: 116.8 kB / 0.5942 GB, free: 8.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6415, allocations: 0 / 0.5942 GB, free: 8.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000582/0.6421, allocations: 344 kB / 0.5945 GB, free: 8.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6422, allocations: 8.312 kB / 0.5945 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6422, allocations: 4 kB / 0.5945 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6422, allocations: 8 kB / 0.5945 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.6426, allocations: 71.83 kB / 0.5946 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.6426, allocations: 4 kB / 0.5946 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.6428, allocations: 39.62 kB / 0.5946 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.6429, allocations: 19.94 kB / 0.5946 GB, free: 8.105 MB / 430.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.0001829/0.6431, allocations: 142.3 kB / 0.5948 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.6432, allocations: 19.84 kB / 0.5948 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006493/0.6438, allocations: 319.9 kB / 0.5951 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6439, allocations: 4 kB / 0.5951 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6439, allocations: 0 / 0.5951 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6439, allocations: 0 / 0.5951 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.6444, allocations: 335 kB / 0.5954 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6444, allocations: 3.938 kB / 0.5954 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.6448, allocations: 55.91 kB / 0.5955 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.6448, allocations: 0 / 0.5955 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.6448, allocations: 16 kB / 0.5955 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.6448, allocations: 7.969 kB / 0.5955 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6448, allocations: 4 kB / 0.5955 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.6455, allocations: 0.5132 MB / 0.596 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.6456, allocations: 92.94 kB / 0.5961 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.6456, allocations: 12.06 kB / 0.5961 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.646, allocations: 15.89 kB / 0.5961 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.646, allocations: 23.91 kB / 0.5961 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.6461, allocations: 15.98 kB / 0.5962 GB, free: 6.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.6461, allocations: 91.23 kB / 0.5962 GB, free: 6.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6461, allocations: 0 / 0.5962 GB, free: 6.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008721/0.647, allocations: 223.8 kB / 0.5965 GB, free: 6.137 MB / 430.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.001779/0.6488, allocations: 1.376 MB / 0.5978 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004774/0.6493, allocations: 262.8 kB / 0.5981 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6493, allocations: 0 / 0.5981 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.6495, allocations: 127.8 kB / 0.5982 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.65, allocations: 81.83 kB / 0.5983 GB, free: 4.273 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.6529, allocations: 3.252 MB / 0.6014 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.6532, allocations: 0.7404 MB / 0.6022 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003905/0.6536, allocations: 73.78 kB / 0.6022 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.6538, allocations: 55.42 kB / 0.6023 GB, free: 28 kB / 430.1 MB Notification: Performance of SimCode: time 1.733e-06/0.6538, allocations: 96 / 0.6023 GB, free: 28 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.6776, allocations: 9.814 MB / 0.6119 GB, free: 6.375 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.6779, allocations: 178.4 kB / 0.612 GB, free: 6.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.71, allocations: 0 / 0.612 GB, free: 6.133 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat