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.001142/0.001142, allocations: 96.53 kB / 17 MB, free: 6.797 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.00116/0.001161, allocations: 181.7 kB / 17.89 MB, free: 6.055 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.439/1.439, allocations: 223.2 MB / 241.9 MB, free: 316 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.2399/0.2399, allocations: 44.22 MB / 337.2 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003278, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 61.92 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5622/0.6894, allocations: 136 MB / 0.5934 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004715/0.6941, allocations: 2.915 MB / 0.5962 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.6944, allocations: 0 / 0.5962 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.6948, allocations: 43.72 kB / 0.5962 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.6976, allocations: 0.7037 MB / 0.5969 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.6981, allocations: 164.8 kB / 0.5971 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000592/0.6987, allocations: 406.6 kB / 0.5975 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.6988, allocations: 13.08 kB / 0.5975 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/0.6992, allocations: 139.5 kB / 0.5976 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.6995, allocations: 119.6 kB / 0.5977 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.6996, allocations: 8 kB / 0.5977 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.7023, allocations: 1.056 MB / 0.5988 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.7024, allocations: 83.75 kB / 0.5989 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.7026, allocations: 61.58 kB / 0.5989 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.7038, allocations: 0.6103 MB / 0.5995 GB, free: 4.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7038, allocations: 0 / 0.5995 GB, free: 4.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7038, allocations: 0 / 0.5995 GB, free: 4.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.7038, allocations: 0 / 0.5995 GB, free: 4.914 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.001061/0.7049, allocations: 0.496 MB / 0.6 GB, free: 4.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.7049, allocations: 8.031 kB / 0.6 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.695e-05/0.705, allocations: 54.55 kB / 0.6001 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.7085, allocations: 379.3 kB / 0.6004 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.7089, allocations: 258.8 kB / 0.6007 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.7089, allocations: 20.33 kB / 0.6007 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/0.709, allocations: 19.98 kB / 0.6007 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.71, allocations: 485.6 kB / 0.6012 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7101, allocations: 3.938 kB / 0.6012 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.7101, allocations: 8 kB / 0.6012 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7101, allocations: 7.938 kB / 0.6012 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.7112, allocations: 0.5096 MB / 0.6017 GB, free: 2.586 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.002294/0.7135, allocations: 0.9822 MB / 0.6026 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.7141, allocations: 289 kB / 0.6029 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.7144, allocations: 145.9 kB / 0.6031 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.7162, allocations: 0.988 MB / 0.604 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.7163, allocations: 41.25 kB / 0.6041 GB, free: 15.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/0.7163, allocations: 0 / 0.6041 GB, free: 15.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009697/0.7172, allocations: 401.6 kB / 0.6044 GB, free: 15.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.7173, allocations: 81.11 kB / 0.6045 GB, free: 15.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.7174, allocations: 113.8 kB / 0.6046 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.7175, allocations: 37.64 kB / 0.6047 GB, free: 15.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.7176, allocations: 112.4 kB / 0.6048 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.7177, allocations: 102.5 kB / 0.6049 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.7177, allocations: 4 kB / 0.6049 GB, free: 15.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7178, allocations: 330.8 kB / 0.6052 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.7181, allocations: 116.6 kB / 0.6053 GB, free: 14.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.7184, allocations: 195.5 kB / 0.6055 GB, free: 14.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.7187, allocations: 144.7 kB / 0.6056 GB, free: 14.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.7187, allocations: 3.953 kB / 0.6056 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007471/0.7194, allocations: 379.1 kB / 0.606 GB, free: 13.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.7195, allocations: 7.938 kB / 0.606 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7195, allocations: 4 kB / 0.606 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.7195, allocations: 4 kB / 0.606 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.7199, allocations: 75.89 kB / 0.6061 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.7199, allocations: 4.625 kB / 0.6061 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.7203, allocations: 43.89 kB / 0.6061 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.7203, allocations: 20 kB / 0.6061 GB, free: 13.68 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.000169/0.7205, allocations: 142.2 kB / 0.6063 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.7206, allocations: 19.86 kB / 0.6063 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007992/0.7214, allocations: 370.6 kB / 0.6067 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7214, allocations: 8 kB / 0.6067 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7215, allocations: 3.938 kB / 0.6067 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.7215, allocations: 4 kB / 0.6067 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.7221, allocations: 357.3 kB / 0.607 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7221, allocations: 4 kB / 0.607 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.7225, allocations: 51.97 kB / 0.6071 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.7225, allocations: 7.938 kB / 0.6071 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.7226, allocations: 11.98 kB / 0.6071 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.7226, allocations: 0 / 0.6071 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7226, allocations: 4 kB / 0.6071 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.7235, allocations: 0.5541 MB / 0.6076 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.7236, allocations: 96.81 kB / 0.6077 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.7237, allocations: 4.062 kB / 0.6077 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.7241, allocations: 27.92 kB / 0.6077 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.7241, allocations: 19.97 kB / 0.6078 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.7241, allocations: 15.98 kB / 0.6078 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.474e-05/0.7242, allocations: 87.27 kB / 0.6079 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7242, allocations: 3.938 kB / 0.6079 GB, free: 11.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009013/0.7251, allocations: 219.9 kB / 0.6081 GB, free: 11.59 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.00223/0.7274, allocations: 1.352 MB / 0.6094 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.728, allocations: 292.2 kB / 0.6097 GB, free: 9.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.728, allocations: 4.125 kB / 0.6097 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.7283, allocations: 146.6 kB / 0.6098 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.7289, allocations: 81.61 kB / 0.6099 GB, free: 9.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.7317, allocations: 1.667 MB / 0.6115 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.732, allocations: 0.7363 MB / 0.6122 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005267/0.7325, allocations: 88.53 kB / 0.6123 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.7327, allocations: 59.41 kB / 0.6124 GB, free: 7.047 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.7327, allocations: 0 / 0.6124 GB, free: 7.047 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.7689, allocations: 9.907 MB / 0.6221 GB, free: 13.3 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.7691, allocations: 179.2 kB / 0.6222 GB, free: 13.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.892, allocations: 0 / 0.6222 GB, free: 13.07 MB / 462.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