Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, allocations: 116.4 kB / 18.5 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 208.9 kB / 21.46 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2336/0.2336, allocations: 46.89 MB / 357.4 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 83.84 kB / 0.4912 GB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1478, allocations: 65.98 MB / 0.5556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5317/0.6795, allocations: 153.2 MB / 0.7053 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.6838, allocations: 3.251 MB / 0.7085 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.6839, allocations: 3.938 kB / 0.7085 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.6843, allocations: 67.62 kB / 0.7085 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.687, allocations: 1.07 MB / 0.7096 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.6876, allocations: 193.7 kB / 0.7098 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.688, allocations: 362.6 kB / 0.7101 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.6881, allocations: 13.64 kB / 0.7101 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.6884, allocations: 159.5 kB / 0.7103 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.6886, allocations: 131.5 kB / 0.7104 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.6886, allocations: 16 kB / 0.7104 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.6916, allocations: 1.589 MB / 0.712 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.6917, allocations: 87.7 kB / 0.712 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.6918, allocations: 103.6 kB / 0.7121 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.6934, allocations: 1.02 MB / 0.7131 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6934, allocations: 4 kB / 0.7131 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6934, allocations: 0 / 0.7131 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.6934, allocations: 0 / 0.7131 GB, free: 0.9805 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001044/0.6944, allocations: 0.5569 MB / 0.7137 GB, free: 384 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6945, allocations: 15.91 kB / 0.7137 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.123e-05/0.6946, allocations: 54.73 kB / 0.7137 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.696, allocations: 209.5 kB / 0.7139 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.6965, allocations: 260.1 kB / 0.7142 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.6965, allocations: 12.31 kB / 0.7142 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.6966, allocations: 24 kB / 0.7142 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.6972, allocations: 388.8 kB / 0.7146 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6972, allocations: 0 / 0.7146 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.6973, allocations: 12 kB / 0.7146 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.6973, allocations: 7.984 kB / 0.7146 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.6979, allocations: 420.4 kB / 0.715 GB, free: 14.95 MB / 0.5294 GB 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.001776/0.6997, allocations: 0.8272 MB / 0.7158 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.7001, allocations: 217.1 kB / 0.716 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.7003, allocations: 123.4 kB / 0.7162 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.7022, allocations: 0.9841 MB / 0.7171 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.7022, allocations: 38.5 kB / 0.7172 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.7022, allocations: 4 kB / 0.7172 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001198/0.7034, allocations: 374.1 kB / 0.7175 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.7035, allocations: 81.11 kB / 0.7176 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.7036, allocations: 120 kB / 0.7177 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.7036, allocations: 33.7 kB / 0.7177 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.7037, allocations: 108.6 kB / 0.7178 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.7038, allocations: 123 kB / 0.718 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.7039, allocations: 62.02 kB / 0.718 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.7041, allocations: 330.8 kB / 0.7183 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.7044, allocations: 104 kB / 0.7184 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.7047, allocations: 194.8 kB / 0.7186 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.7052, allocations: 316.3 kB / 0.7189 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7052, allocations: 4 kB / 0.7189 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006583/0.7058, allocations: 358.7 kB / 0.7193 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7059, allocations: 4 kB / 0.7193 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.7059, allocations: 4 kB / 0.7193 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7059, allocations: 4 kB / 0.7193 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.7062, allocations: 76.14 kB / 0.7193 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.7062, allocations: 8 kB / 0.7194 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.7064, allocations: 31.78 kB / 0.7194 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.7065, allocations: 23.92 kB / 0.7194 GB, free: 10.07 MB / 0.5294 GB 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.7066, allocations: 141.7 kB / 0.7195 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.7067, allocations: 15.91 kB / 0.7196 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.7074, allocations: 339.2 kB / 0.7199 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.7074, allocations: 4 kB / 0.7199 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7074, allocations: 0 / 0.7199 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7074, allocations: 0 / 0.7199 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.708, allocations: 339.1 kB / 0.7202 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.708, allocations: 0 / 0.7202 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.7084, allocations: 63.84 kB / 0.7203 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.7084, allocations: 3.984 kB / 0.7203 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.7084, allocations: 8 kB / 0.7203 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7084, allocations: 4 kB / 0.7203 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7084, allocations: 0 / 0.7203 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.7092, allocations: 0.5335 MB / 0.7208 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.7093, allocations: 93 kB / 0.7209 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.7093, allocations: 8.047 kB / 0.7209 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.7096, allocations: 15.98 kB / 0.7209 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.7097, allocations: 19.97 kB / 0.7209 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.7097, allocations: 16 kB / 0.721 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.7097, allocations: 91.27 kB / 0.721 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7097, allocations: 0 / 0.721 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008127/0.7106, allocations: 251.2 kB / 0.7213 GB, free: 8.051 MB / 0.5294 GB 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/0.7126, allocations: 1.396 MB / 0.7226 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.7131, allocations: 251.7 kB / 0.7229 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7131, allocations: 0.625 kB / 0.7229 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.7133, allocations: 131.8 kB / 0.723 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.714, allocations: 94.84 kB / 0.7231 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.7175, allocations: 2.725 MB / 0.7258 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.7179, allocations: 0.7324 MB / 0.7265 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003119/0.7182, allocations: 74.02 kB / 0.7265 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.7183, allocations: 67.41 kB / 0.7266 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.7183, allocations: 0 / 0.7266 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.7581, allocations: 10.96 MB / 0.7373 GB, free: 7.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/9.003, allocations: 3.984 kB / 0.7373 GB, free: 7.543 MB / 0.545 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.064335076138377] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p', 'medium2.T', 'medium2.X[1]', 'medium2.X[2]', 'medium2.p'] 9.074101205915213 9.097262045 8.399042046 Calling exit ...