Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.001194/0.001194, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001332/0.001332, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.36/1.36, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.91 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2409, allocations: 53.4 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03693/0.2778, allocations: 34.79 MB / 466.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03234/0.3102, allocations: 27.14 MB / 493.8 MB, free: 8.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.3107, allocations: 11.94 kB / 493.8 MB, free: 8.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.3118, allocations: 377.8 kB / 494.2 MB, free: 7.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3131, allocations: 0.5323 MB / 494.7 MB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01308/0.3262, allocations: 5.273 MB / 0.4883 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.3279, allocations: 1.375 MB / 0.4896 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.3282, allocations: 130.9 kB / 0.4898 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009387/0.3291, allocations: 0.545 MB / 0.4903 GB, free: 92 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.3297, allocations: 462.2 kB / 0.4907 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.3298, allocations: 52 kB / 0.4908 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/0.3528, allocations: 12.74 MB / 0.5032 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.3531, allocations: 155.5 kB / 0.5034 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.3536, allocations: 279 kB / 0.5036 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04074/0.3943, allocations: 14.94 MB / 0.5182 GB, free: 3.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3943, allocations: 0 / 0.5182 GB, free: 3.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3943, allocations: 3.938 kB / 0.5182 GB, free: 3.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3943, allocations: 0 / 0.5182 GB, free: 3.434 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007007/0.4014, allocations: 1.396 MB / 0.5196 GB, free: 2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4014, allocations: 12.03 kB / 0.5196 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.482e-05/0.4014, allocations: 13 kB / 0.5196 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.471e-05/0.4015, allocations: 86.52 kB / 0.5197 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.4023, allocations: 99.56 kB / 0.5198 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.4029, allocations: 328.3 kB / 0.5201 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.4029, allocations: 37 kB / 0.5202 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.403, allocations: 51.94 kB / 0.5202 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4043, allocations: 0.833 MB / 0.521 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.4043, allocations: 3.953 kB / 0.521 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.4043, allocations: 16 kB / 0.521 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.4043, allocations: 19.88 kB / 0.5211 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.4054, allocations: 0.5308 MB / 0.5216 GB, free: 15.85 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.003753/0.4091, allocations: 2.79 MB / 0.5243 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009341/0.41, allocations: 399 kB / 0.5247 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.4104, allocations: 201.5 kB / 0.5249 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001911/0.4123, allocations: 0.6207 MB / 0.5255 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.4123, allocations: 42.94 kB / 0.5255 GB, free: 11.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.4123, allocations: 0 / 0.5255 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01012/0.4224, allocations: 1.89 MB / 0.5274 GB, free: 9.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4225, allocations: 55.84 kB / 0.5274 GB, free: 9.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.4228, allocations: 316.3 kB / 0.5277 GB, free: 9.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.4229, allocations: 41.7 kB / 0.5278 GB, free: 9.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.423, allocations: 225.2 kB / 0.528 GB, free: 9.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.4232, allocations: 206.2 kB / 0.5282 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.4234, allocations: 118.3 kB / 0.5283 GB, free: 8.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4235, allocations: 346.8 kB / 0.5286 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.4238, allocations: 181.2 kB / 0.5288 GB, free: 8.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.4243, allocations: 332.1 kB / 0.5291 GB, free: 7.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/0.4251, allocations: 0.5446 MB / 0.5296 GB, free: 7.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4251, allocations: 0 / 0.5296 GB, free: 7.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001399/0.4265, allocations: 0.6818 MB / 0.5303 GB, free: 6.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4265, allocations: 8 kB / 0.5303 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4265, allocations: 4 kB / 0.5303 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01242/0.4389, allocations: 466 kB / 0.5308 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.4396, allocations: 143.8 kB / 0.5309 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.4419, allocations: 2.993 MB / 0.5338 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.4422, allocations: 16 kB / 0.5338 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.4423, allocations: 28 kB / 0.5339 GB, free: 2.742 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.4426, allocations: 190.2 kB / 0.534 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.4428, allocations: 47.77 kB / 0.5341 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.4445, allocations: 1.079 MB / 0.5351 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.4445, allocations: 15.98 kB / 0.5352 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4445, allocations: 3.938 kB / 0.5352 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/0.4457, allocations: 1.11 MB / 0.5362 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1929/0.6387, allocations: 1.656 MB / 0.5379 GB, free: 97.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.6387, allocations: 0 / 0.5379 GB, free: 97.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.6391, allocations: 100.4 kB / 0.538 GB, free: 97.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/0.6421, allocations: 357.4 kB / 0.5383 GB, free: 97.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.6421, allocations: 17.34 kB / 0.5383 GB, free: 97.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/0.6426, allocations: 1.148 MB / 0.5394 GB, free: 96.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6426, allocations: 0 / 0.5394 GB, free: 96.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.644, allocations: 1.152 MB / 0.5406 GB, free: 95.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.6441, allocations: 50.16 kB / 0.5406 GB, free: 95.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.6442, allocations: 18.41 kB / 0.5406 GB, free: 95.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.6444, allocations: 11.53 kB / 0.5406 GB, free: 95.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.6445, allocations: 37.42 kB / 0.5407 GB, free: 95.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.6445, allocations: 24 kB / 0.5407 GB, free: 95.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.6448, allocations: 247.2 kB / 0.5409 GB, free: 95.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6448, allocations: 0 / 0.5409 GB, free: 95.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004862/0.6496, allocations: 0.9822 MB / 0.5419 GB, free: 95.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02709/0.6767, allocations: 9.476 MB / 0.5511 GB, free: 89.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.6781, allocations: 0.6872 MB / 0.5518 GB, free: 88.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6781, allocations: 3.969 kB / 0.5518 GB, free: 88.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.6785, allocations: 352.9 kB / 0.5522 GB, free: 88.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.6798, allocations: 262.9 kB / 0.5524 GB, free: 88.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/0.6889, allocations: 5.343 MB / 0.5576 GB, free: 83.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.689, allocations: 268.6 kB / 0.5579 GB, free: 83.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004837/0.6895, allocations: 246.6 kB / 0.5581 GB, free: 82.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.6897, allocations: 198.3 kB / 0.5583 GB, free: 82.76 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6897, allocations: 4 kB / 0.5583 GB, free: 82.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06393/0.7537, allocations: 43.54 MB / 0.6008 GB, free: 39.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.08, allocations: 4.062 kB / 0.6008 GB, free: 39.97 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.723845541011542] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 15.28242879093159 15.292574666 14.895880541 Calling exit ...