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.001663/0.001663, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002093/0.002093, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2229/0.2229, allocations: 46.93 MB / 361.6 MB, free: 4.281 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.002312/0.002312, allocations: 75.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3396, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.181/0.5206, allocations: 153.3 MB / 0.7112 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.5246, allocations: 3.263 MB / 0.7144 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.5246, allocations: 4 kB / 0.7144 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.525, allocations: 59.66 kB / 0.7144 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.5274, allocations: 1.112 MB / 0.7155 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.528, allocations: 203 kB / 0.7157 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.5284, allocations: 374.6 kB / 0.7161 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.5285, allocations: 13.28 kB / 0.7161 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.5288, allocations: 163.4 kB / 0.7162 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.529, allocations: 123.6 kB / 0.7164 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.529, allocations: 12 kB / 0.7164 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.532, allocations: 1.644 MB / 0.718 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.5321, allocations: 83.77 kB / 0.7181 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.5322, allocations: 111.5 kB / 0.7182 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.5338, allocations: 1.019 MB / 0.7192 GB, free: 2.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5338, allocations: 0 / 0.7192 GB, free: 2.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5338, allocations: 0 / 0.7192 GB, free: 2.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.5338, allocations: 4 kB / 0.7192 GB, free: 2.234 MB / 0.545 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.0008741/0.5347, allocations: 0.4893 MB / 0.7196 GB, free: 1.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5347, allocations: 8.031 kB / 0.7196 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.332e-05/0.5348, allocations: 54.73 kB / 0.7197 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.5362, allocations: 208.6 kB / 0.7199 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.5365, allocations: 201.8 kB / 0.7201 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.5365, allocations: 12.38 kB / 0.7201 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.5366, allocations: 20 kB / 0.7201 GB, free: 1.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.5373, allocations: 392.1 kB / 0.7205 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5373, allocations: 0 / 0.7205 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.5373, allocations: 8 kB / 0.7205 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.5374, allocations: 4 kB / 0.7205 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.538, allocations: 424.4 kB / 0.7209 GB, free: 380 kB / 0.545 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.001951/0.54, allocations: 0.7894 MB / 0.7217 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.5404, allocations: 229 kB / 0.7219 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.5406, allocations: 121.7 kB / 0.722 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.5421, allocations: 317.6 kB / 0.7223 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.5421, allocations: 42.56 kB / 0.7224 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.5421, allocations: 3.938 kB / 0.7224 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001216/0.5434, allocations: 373.9 kB / 0.7227 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.5434, allocations: 89.03 kB / 0.7228 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.5435, allocations: 117.8 kB / 0.7229 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5436, allocations: 29.7 kB / 0.7229 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.5436, allocations: 108.6 kB / 0.723 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.5437, allocations: 119 kB / 0.7232 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5438, allocations: 70 kB / 0.7232 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.544, allocations: 326.8 kB / 0.7235 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.5442, allocations: 108 kB / 0.7236 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.5444, allocations: 186.9 kB / 0.7238 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.5449, allocations: 308.2 kB / 0.7241 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5449, allocations: 0 / 0.7241 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006613/0.5456, allocations: 364.3 kB / 0.7245 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.5456, allocations: 4 kB / 0.7245 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5456, allocations: 4 kB / 0.7245 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.5456, allocations: 4 kB / 0.7245 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.546, allocations: 75.89 kB / 0.7245 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.546, allocations: 7.938 kB / 0.7246 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.5462, allocations: 27.78 kB / 0.7246 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.5463, allocations: 24.3 kB / 0.7246 GB, free: 12.37 MB / 0.5606 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.0001569/0.5464, allocations: 142.6 kB / 0.7247 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5465, allocations: 15.91 kB / 0.7248 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.5472, allocations: 340 kB / 0.7251 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.5472, allocations: 4 kB / 0.7251 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.5472, allocations: 4 kB / 0.7251 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5472, allocations: 0 / 0.7251 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.5478, allocations: 314.1 kB / 0.7254 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5478, allocations: 0 / 0.7254 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.5482, allocations: 55.91 kB / 0.7254 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5482, allocations: 4 kB / 0.7254 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.5482, allocations: 15.98 kB / 0.7255 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5482, allocations: 7.984 kB / 0.7255 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5482, allocations: 0 / 0.7255 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.549, allocations: 0.5264 MB / 0.726 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.549, allocations: 19.88 kB / 0.726 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.5491, allocations: 8.062 kB / 0.726 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.5494, allocations: 15.98 kB / 0.726 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5494, allocations: 15.97 kB / 0.726 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.5495, allocations: 23.92 kB / 0.7261 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.5495, allocations: 91.27 kB / 0.7261 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5495, allocations: 0 / 0.7261 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008651/0.5504, allocations: 235.4 kB / 0.7264 GB, free: 10.48 MB / 0.5606 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.002034/0.5524, allocations: 1.418 MB / 0.7278 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.553, allocations: 262.9 kB / 0.728 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.553, allocations: 0 / 0.728 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.5532, allocations: 131.7 kB / 0.7281 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.5538, allocations: 96.88 kB / 0.7282 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.5574, allocations: 2.73 MB / 0.7309 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.5578, allocations: 0.7402 MB / 0.7316 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003128/0.5581, allocations: 77.95 kB / 0.7317 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.5582, allocations: 63.42 kB / 0.7317 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.5582, allocations: 0 / 0.7317 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2967/0.855, allocations: 11.14 MB / 0.7426 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/9.071, allocations: 8.438 kB / 0.7426 GB, free: 171.6 MB / 0.5606 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.066292643081397] 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.147752659395337 9.165931162 8.628797939 Calling exit ...