Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 91.5 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009879/0.0009879, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 7.984 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 63.46 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4594/0.6003, allocations: 126 MB / 0.5933 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.6035, allocations: 2.578 MB / 0.5958 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.6036, allocations: 8 kB / 0.5958 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.6039, allocations: 51.7 kB / 0.5959 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.6057, allocations: 0.7166 MB / 0.5966 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.6061, allocations: 170.9 kB / 0.5967 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.6064, allocations: 211.6 kB / 0.5969 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.6065, allocations: 9.109 kB / 0.5969 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.6068, allocations: 163.5 kB / 0.5971 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.6069, allocations: 83.69 kB / 0.5972 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.607, allocations: 8 kB / 0.5972 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.6093, allocations: 1.104 MB / 0.5983 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.6094, allocations: 67.84 kB / 0.5983 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.6094, allocations: 61.64 kB / 0.5984 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.6103, allocations: 0.596 MB / 0.599 GB, free: 1.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6103, allocations: 4 kB / 0.599 GB, free: 1.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6104, allocations: 0 / 0.599 GB, free: 1.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.6104, allocations: 0 / 0.599 GB, free: 1.52 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.000791/0.6112, allocations: 0.5038 MB / 0.5995 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.6112, allocations: 12.03 kB / 0.5995 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.878e-05/0.6113, allocations: 50.55 kB / 0.5995 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.6129, allocations: 215.5 kB / 0.5997 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.6132, allocations: 242.7 kB / 0.6 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.6133, allocations: 12.38 kB / 0.6 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.6133, allocations: 20 kB / 0.6 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.614, allocations: 361.7 kB / 0.6003 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.614, allocations: 0 / 0.6003 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.614, allocations: 8 kB / 0.6003 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6141, allocations: 8 kB / 0.6003 GB, free: 0 / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.6147, allocations: 412 kB / 0.6007 GB, free: 15.6 MB / 446.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.00164/0.6163, allocations: 0.8007 MB / 0.6015 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.6167, allocations: 213.8 kB / 0.6017 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.6181, allocations: 0.7657 MB / 0.6025 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6181, allocations: 38.69 kB / 0.6025 GB, free: 13.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.6181, allocations: 0 / 0.6025 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001128/0.6193, allocations: 358.4 kB / 0.6028 GB, free: 13.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.6193, allocations: 81.36 kB / 0.6029 GB, free: 13.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.6194, allocations: 113.8 kB / 0.603 GB, free: 13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.6195, allocations: 33.7 kB / 0.6031 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.6196, allocations: 116.3 kB / 0.6032 GB, free: 12.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.6197, allocations: 102.5 kB / 0.6033 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.6197, allocations: 12 kB / 0.6033 GB, free: 12.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6198, allocations: 318.8 kB / 0.6036 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.62, allocations: 96.61 kB / 0.6037 GB, free: 12.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.6202, allocations: 191.4 kB / 0.6039 GB, free: 12.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6205, allocations: 113.9 kB / 0.604 GB, free: 11.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.6205, allocations: 8 kB / 0.604 GB, free: 11.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005603/0.621, allocations: 333.1 kB / 0.6043 GB, free: 11.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6211, allocations: 8 kB / 0.6043 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6211, allocations: 3.953 kB / 0.6043 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6211, allocations: 8 kB / 0.6043 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.6214, allocations: 76.14 kB / 0.6044 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6215, allocations: 8 kB / 0.6044 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.6217, allocations: 31.69 kB / 0.6044 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.6217, allocations: 23.98 kB / 0.6045 GB, free: 11.49 MB / 446.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.0001454/0.6219, allocations: 129.8 kB / 0.6046 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.622, allocations: 19.91 kB / 0.6046 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.6226, allocations: 327.1 kB / 0.6049 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6226, allocations: 7.953 kB / 0.6049 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6226, allocations: 0 / 0.6049 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6227, allocations: 7.984 kB / 0.6049 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.6232, allocations: 327.6 kB / 0.6052 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6232, allocations: 0 / 0.6052 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.6235, allocations: 59.84 kB / 0.6053 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6236, allocations: 0 / 0.6053 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.6236, allocations: 8 kB / 0.6053 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.6236, allocations: 15.69 kB / 0.6053 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.6236, allocations: 0 / 0.6053 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.6243, allocations: 0.5127 MB / 0.6058 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.6244, allocations: 88.95 kB / 0.6059 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.6244, allocations: 12.02 kB / 0.6059 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.6247, allocations: 19.89 kB / 0.6059 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.6248, allocations: 27.91 kB / 0.606 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.6248, allocations: 19.98 kB / 0.606 GB, free: 9.828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.16e-05/0.6249, allocations: 79.28 kB / 0.6061 GB, free: 9.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6249, allocations: 0 / 0.6061 GB, free: 9.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.6257, allocations: 223.8 kB / 0.6063 GB, free: 9.531 MB / 446.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.001767/0.6275, allocations: 1.391 MB / 0.6076 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004892/0.628, allocations: 260.1 kB / 0.6079 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.628, allocations: 0.625 kB / 0.6079 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.6282, allocations: 131.8 kB / 0.608 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.6287, allocations: 74.44 kB / 0.6081 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.6315, allocations: 3.256 MB / 0.6112 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6318, allocations: 0.7443 MB / 0.612 GB, free: 3.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003825/0.6322, allocations: 70.38 kB / 0.612 GB, free: 3.465 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.6324, allocations: 59.41 kB / 0.6121 GB, free: 3.406 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6324, allocations: 0 / 0.6121 GB, free: 3.406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.6555, allocations: 9.884 MB / 0.6218 GB, free: 9.668 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.6558, allocations: 178.1 kB / 0.6219 GB, free: 9.426 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.686, allocations: 0 / 0.6219 GB, free: 9.426 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat