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.00137/0.00137, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001438/0.001438, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.521/1.521, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2327/0.2327, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.002262/0.002262, allocations: 84.14 kB / 0.4917 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1497, allocations: 66.04 MB / 0.5561 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4722/0.6219, allocations: 153.2 MB / 0.7058 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.6259, allocations: 3.243 MB / 0.709 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.626, allocations: 7.938 kB / 0.709 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.6263, allocations: 67.64 kB / 0.709 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.6288, allocations: 1.062 MB / 0.7101 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.6293, allocations: 203.4 kB / 0.7103 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.6298, allocations: 370.6 kB / 0.7106 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.6298, allocations: 5.656 kB / 0.7106 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.6301, allocations: 163.2 kB / 0.7108 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.6303, allocations: 123.5 kB / 0.7109 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.6303, allocations: 12 kB / 0.7109 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.6331, allocations: 1.594 MB / 0.7125 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.6332, allocations: 91.7 kB / 0.7126 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.6333, allocations: 107.6 kB / 0.7127 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.6348, allocations: 1.016 MB / 0.7136 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6348, allocations: 0 / 0.7136 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6348, allocations: 0 / 0.7136 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.6348, allocations: 0 / 0.7136 GB, free: 15.96 MB / 0.5294 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.0009677/0.6358, allocations: 0.5646 MB / 0.7142 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6358, allocations: 8.031 kB / 0.7142 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.6359, allocations: 57.23 kB / 0.7143 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.6373, allocations: 208.6 kB / 0.7145 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.6377, allocations: 256 kB / 0.7147 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.6377, allocations: 16.31 kB / 0.7147 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.6378, allocations: 24 kB / 0.7147 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.6384, allocations: 380.9 kB / 0.7151 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6384, allocations: 0 / 0.7151 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.6384, allocations: 12 kB / 0.7151 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.6385, allocations: 11.98 kB / 0.7151 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.6391, allocations: 420.4 kB / 0.7155 GB, free: 13.93 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.00174/0.6409, allocations: 0.8254 MB / 0.7163 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.6413, allocations: 221.1 kB / 0.7165 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.6415, allocations: 125.6 kB / 0.7167 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.6434, allocations: 0.9801 MB / 0.7176 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.6434, allocations: 38.56 kB / 0.7177 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.6434, allocations: 0 / 0.7177 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001262/0.6447, allocations: 383.7 kB / 0.718 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.6447, allocations: 77.11 kB / 0.7181 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.6448, allocations: 117.7 kB / 0.7182 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.6449, allocations: 33.7 kB / 0.7182 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.6449, allocations: 108.6 kB / 0.7183 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.645, allocations: 122.9 kB / 0.7185 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.6452, allocations: 62.03 kB / 0.7185 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6453, allocations: 334.8 kB / 0.7188 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.6455, allocations: 104.1 kB / 0.7189 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.6458, allocations: 186.8 kB / 0.7191 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.6463, allocations: 324.8 kB / 0.7194 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6463, allocations: 0 / 0.7194 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006674/0.6469, allocations: 353.4 kB / 0.7198 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.647, allocations: 12 kB / 0.7198 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.647, allocations: 4 kB / 0.7198 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.647, allocations: 4 kB / 0.7198 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.6473, allocations: 67.84 kB / 0.7199 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.6473, allocations: 8.875 kB / 0.7199 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.6476, allocations: 31.77 kB / 0.7199 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.6476, allocations: 16 kB / 0.7199 GB, free: 9.059 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.0001497/0.6478, allocations: 145.7 kB / 0.72 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/0.6479, allocations: 19.91 kB / 0.7201 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/0.6486, allocations: 342.1 kB / 0.7204 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6486, allocations: 4 kB / 0.7204 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6486, allocations: 0 / 0.7204 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6486, allocations: 3.984 kB / 0.7204 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.6492, allocations: 347 kB / 0.7207 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6492, allocations: 0 / 0.7207 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.6495, allocations: 55.91 kB / 0.7208 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6495, allocations: 4 kB / 0.7208 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.6496, allocations: 11.98 kB / 0.7208 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6496, allocations: 0 / 0.7208 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6496, allocations: 7.984 kB / 0.7208 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.6504, allocations: 0.5296 MB / 0.7213 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.6505, allocations: 89 kB / 0.7214 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.6505, allocations: 8.062 kB / 0.7214 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.6508, allocations: 15.97 kB / 0.7214 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.6509, allocations: 27.97 kB / 0.7215 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.6509, allocations: 19.98 kB / 0.7215 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.651, allocations: 83.27 kB / 0.7216 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.651, allocations: 0 / 0.7216 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009317/0.6519, allocations: 247.3 kB / 0.7218 GB, free: 7.031 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.002125/0.654, allocations: 1.398 MB / 0.7232 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.6546, allocations: 256.4 kB / 0.7234 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6546, allocations: 4 kB / 0.7234 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.6549, allocations: 125.9 kB / 0.7235 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.6555, allocations: 97.69 kB / 0.7236 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.6593, allocations: 2.72 MB / 0.7263 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.6597, allocations: 0.7363 MB / 0.727 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003484/0.66, allocations: 77.95 kB / 0.7271 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.6602, allocations: 63.42 kB / 0.7271 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.6602, allocations: 0 / 0.7271 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04017/0.7003, allocations: 10.96 MB / 0.7378 GB, free: 6.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.872, allocations: 15.98 kB / 0.7378 GB, free: 6.512 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.06053264811635] 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'] 8.948692442849278 8.974882531 8.335345176 Calling exit ...