Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001267/0.001267, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001453/0.001453, allocations: 219.5 kB / 23 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.5 MB / 256.5 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001896/0.001896, allocations: 67.84 kB / 376.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2862, allocations: 53.33 MB / 429.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04327/0.3295, allocations: 38.31 MB / 467.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03648/0.3659, allocations: 30.84 MB / 498.7 MB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.3665, allocations: 11.94 kB / 498.7 MB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.3678, allocations: 429.6 kB / 499.1 MB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3691, allocations: 0.5362 MB / 499.7 MB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01458/0.3837, allocations: 5.24 MB / 0.4931 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.3856, allocations: 1.359 MB / 0.4944 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.3859, allocations: 126.6 kB / 0.4945 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009455/0.3868, allocations: 0.5449 MB / 0.495 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.3874, allocations: 458.2 kB / 0.4955 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.3875, allocations: 55.94 kB / 0.4955 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02356/0.4111, allocations: 12.89 MB / 0.5081 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.4114, allocations: 163.5 kB / 0.5083 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.4119, allocations: 318.8 kB / 0.5086 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0343/0.4462, allocations: 14.94 MB / 0.5232 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4462, allocations: 0 / 0.5232 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4462, allocations: 0 / 0.5232 GB, free: 12.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4462, allocations: 0 / 0.5232 GB, free: 12.86 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00755/0.4537, allocations: 1.475 MB / 0.5246 GB, free: 11.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4538, allocations: 12.03 kB / 0.5246 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.4539, allocations: 86.52 kB / 0.5247 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007202/0.4546, allocations: 107.5 kB / 0.5248 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.4552, allocations: 382.1 kB / 0.5252 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.4553, allocations: 37 kB / 0.5252 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.4553, allocations: 52 kB / 0.5253 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.4565, allocations: 0.6205 MB / 0.5259 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.4566, allocations: 7.953 kB / 0.5259 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.4566, allocations: 23.94 kB / 0.5259 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4566, allocations: 12 kB / 0.5259 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.4576, allocations: 0.5307 MB / 0.5264 GB, free: 9.375 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.004362/0.462, allocations: 3.801 MB / 0.5301 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.463, allocations: 394.6 kB / 0.5305 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.4633, allocations: 197.5 kB / 0.5307 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003461/0.4667, allocations: 3.455 MB / 0.5341 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.4668, allocations: 34.94 kB / 0.5341 GB, free: 496 kB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.244e-06/0.4668, allocations: 0 / 0.5341 GB, free: 496 kB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.2053/0.6721, allocations: 2.025 MB / 0.5361 GB, free: 97.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.6721, allocations: 63.39 kB / 0.5361 GB, free: 97.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.6725, allocations: 314.7 kB / 0.5364 GB, free: 97.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.6725, allocations: 35.42 kB / 0.5365 GB, free: 97.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.6726, allocations: 233.9 kB / 0.5367 GB, free: 97.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6727, allocations: 202.9 kB / 0.5369 GB, free: 97.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.6729, allocations: 118.3 kB / 0.537 GB, free: 97.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.673, allocations: 353.5 kB / 0.5373 GB, free: 96.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.6733, allocations: 178.5 kB / 0.5375 GB, free: 96.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.6736, allocations: 334.6 kB / 0.5378 GB, free: 96.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.6743, allocations: 0.5459 MB / 0.5384 GB, free: 96.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6743, allocations: 2.281 kB / 0.5384 GB, free: 96.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001215/0.6755, allocations: 0.6715 MB / 0.539 GB, free: 95.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.6756, allocations: 9.312 kB / 0.539 GB, free: 95.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6756, allocations: 4.062 kB / 0.539 GB, free: 95.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008777/0.6844, allocations: 447.2 kB / 0.5395 GB, free: 95.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.685, allocations: 148.4 kB / 0.5396 GB, free: 95.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.6866, allocations: 3.088 MB / 0.5426 GB, free: 92.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.687, allocations: 19.62 kB / 0.5426 GB, free: 92.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.687, allocations: 26.31 kB / 0.5427 GB, free: 92.58 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.0002912/0.6873, allocations: 197.3 kB / 0.5429 GB, free: 92.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.6874, allocations: 51.38 kB / 0.5429 GB, free: 92.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.6889, allocations: 1.046 MB / 0.5439 GB, free: 91.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.6889, allocations: 10.42 kB / 0.5439 GB, free: 91.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6889, allocations: 0 / 0.5439 GB, free: 91.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009456/0.6899, allocations: 1.088 MB / 0.545 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.6918, allocations: 1.735 MB / 0.5467 GB, free: 90.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6918, allocations: 1.312 kB / 0.5467 GB, free: 90.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.6921, allocations: 103.2 kB / 0.5468 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.6949, allocations: 347.1 kB / 0.5471 GB, free: 90.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.6949, allocations: 22.88 kB / 0.5471 GB, free: 90.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004623/0.6954, allocations: 1.144 MB / 0.5483 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6954, allocations: 0 / 0.5483 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.6966, allocations: 1.135 MB / 0.5494 GB, free: 88.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6967, allocations: 124 kB / 0.5495 GB, free: 88.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.6968, allocations: 14.06 kB / 0.5495 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.697, allocations: 16.22 kB / 0.5495 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.6971, allocations: 38.56 kB / 0.5496 GB, free: 88.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.6971, allocations: 23.47 kB / 0.5496 GB, free: 88.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.6973, allocations: 249.4 kB / 0.5498 GB, free: 88.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6973, allocations: 0.8125 kB / 0.5498 GB, free: 88.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005971/0.7033, allocations: 0.9827 MB / 0.5508 GB, free: 88.13 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.02954/0.7329, allocations: 9.452 MB / 0.56 GB, free: 80.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.7344, allocations: 0.6978 MB / 0.5607 GB, free: 79.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7344, allocations: 0 / 0.5607 GB, free: 79.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.7348, allocations: 345.2 kB / 0.561 GB, free: 79.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.7361, allocations: 264.3 kB / 0.5613 GB, free: 79.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008882/0.745, allocations: 5.343 MB / 0.5665 GB, free: 74.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.7452, allocations: 0.8687 MB / 0.5673 GB, free: 73.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004394/0.7456, allocations: 229.5 kB / 0.5676 GB, free: 72.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.7459, allocations: 203.4 kB / 0.5677 GB, free: 72.77 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7459, allocations: 0 / 0.5677 GB, free: 72.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06921/0.8151, allocations: 42.5 MB / 0.6092 GB, free: 30.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.46, allocations: 18.45 kB / 0.6093 GB, free: 30.38 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.74044163202052] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.583532463002484 14.593453879 14.144624988 Calling exit ...