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.0008432/0.0008431, allocations: 101.8 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00097/0.0009709, allocations: 195.2 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1579, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5675/0.7255, allocations: 136 MB / 0.6032 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.7292, allocations: 2.923 MB / 0.606 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.7293, allocations: 4 kB / 0.606 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.7296, allocations: 43.73 kB / 0.6061 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.7316, allocations: 0.7076 MB / 0.6068 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.7321, allocations: 163.2 kB / 0.6069 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.7326, allocations: 406.6 kB / 0.6073 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.7327, allocations: 5.125 kB / 0.6073 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.7329, allocations: 135.5 kB / 0.6074 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.7331, allocations: 119.6 kB / 0.6076 GB, free: 9.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.7331, allocations: 8 kB / 0.6076 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.7355, allocations: 1.068 MB / 0.6086 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.7356, allocations: 75.77 kB / 0.6087 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.7357, allocations: 57.64 kB / 0.6087 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008423/0.7365, allocations: 0.6181 MB / 0.6093 GB, free: 8.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7365, allocations: 0 / 0.6093 GB, free: 8.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7365, allocations: 0 / 0.6093 GB, free: 8.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.7365, allocations: 0 / 0.6093 GB, free: 8.07 MB / 446.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.0007533/0.7373, allocations: 0.5038 MB / 0.6098 GB, free: 7.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7373, allocations: 8.031 kB / 0.6098 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.047e-05/0.7374, allocations: 54.55 kB / 0.6099 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.7407, allocations: 383.8 kB / 0.6103 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.741, allocations: 262.7 kB / 0.6105 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.7411, allocations: 12.38 kB / 0.6105 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.7411, allocations: 20.81 kB / 0.6105 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/0.7421, allocations: 481.6 kB / 0.611 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7421, allocations: 3.938 kB / 0.611 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.7422, allocations: 12 kB / 0.611 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7422, allocations: 4 kB / 0.611 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009715/0.7432, allocations: 0.5035 MB / 0.6115 GB, free: 5.742 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.002179/0.7453, allocations: 0.9848 MB / 0.6125 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.7459, allocations: 294.8 kB / 0.6128 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.7462, allocations: 157.6 kB / 0.6129 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.748, allocations: 0.9645 MB / 0.6138 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.748, allocations: 46.55 kB / 0.6139 GB, free: 3.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.635e-06/0.748, allocations: 0 / 0.6139 GB, free: 3.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009484/0.749, allocations: 397.9 kB / 0.6143 GB, free: 2.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.749, allocations: 81.11 kB / 0.6143 GB, free: 2.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.7491, allocations: 121.6 kB / 0.6145 GB, free: 2.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.7492, allocations: 29.7 kB / 0.6145 GB, free: 2.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.7493, allocations: 120.4 kB / 0.6146 GB, free: 2.273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.7494, allocations: 102.5 kB / 0.6147 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.7494, allocations: 4 kB / 0.6147 GB, free: 2.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7495, allocations: 330.8 kB / 0.615 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.7498, allocations: 112.6 kB / 0.6151 GB, free: 1.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.7501, allocations: 199.5 kB / 0.6153 GB, free: 1.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.7503, allocations: 140.7 kB / 0.6155 GB, free: 1.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7504, allocations: 4 kB / 0.6155 GB, free: 1.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006747/0.751, allocations: 367.8 kB / 0.6158 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.7511, allocations: 12.31 kB / 0.6158 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.7511, allocations: 7.984 kB / 0.6158 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7511, allocations: 4 kB / 0.6158 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.7515, allocations: 75.89 kB / 0.6159 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.7516, allocations: 4 kB / 0.6159 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.7519, allocations: 35.67 kB / 0.6159 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.7519, allocations: 19.95 kB / 0.616 GB, free: 0.8359 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.0001542/0.7521, allocations: 149.6 kB / 0.6161 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.7522, allocations: 11.91 kB / 0.6161 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.753, allocations: 374 kB / 0.6165 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.753, allocations: 4.812 kB / 0.6165 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.753, allocations: 0 / 0.6165 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.753, allocations: 0 / 0.6165 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.7536, allocations: 372.9 kB / 0.6168 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7536, allocations: 4 kB / 0.6168 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.754, allocations: 60.66 kB / 0.6169 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.7541, allocations: 4 kB / 0.6169 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.7541, allocations: 11.98 kB / 0.6169 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.7541, allocations: 0 / 0.6169 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7541, allocations: 0 / 0.6169 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.755, allocations: 0.5535 MB / 0.6175 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.755, allocations: 96.86 kB / 0.6175 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.7551, allocations: 8.062 kB / 0.6176 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.7555, allocations: 19.92 kB / 0.6176 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.7555, allocations: 19.97 kB / 0.6176 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.7556, allocations: 15.98 kB / 0.6176 GB, free: 15.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.818e-05/0.7556, allocations: 103.5 kB / 0.6177 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7556, allocations: 0 / 0.6177 GB, free: 14.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009585/0.7566, allocations: 227.8 kB / 0.6179 GB, free: 14.73 MB / 462.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.002147/0.7588, allocations: 1.357 MB / 0.6192 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.7594, allocations: 291 kB / 0.6195 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7594, allocations: 4 kB / 0.6195 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.7597, allocations: 143.8 kB / 0.6197 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.7604, allocations: 83.97 kB / 0.6197 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.7631, allocations: 1.673 MB / 0.6214 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.7635, allocations: 0.7365 MB / 0.6221 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005185/0.764, allocations: 85.89 kB / 0.6222 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.7642, allocations: 59.42 kB / 0.6222 GB, free: 10.17 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7642, allocations: 0 / 0.6222 GB, free: 10.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.7911, allocations: 9.976 MB / 0.632 GB, free: 356 kB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.7914, allocations: 182.6 kB / 0.6322 GB, free: 112 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.906, allocations: 0 / 0.6322 GB, free: 112 kB / 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