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.001381/0.001381, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001577/0.001577, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001906/0.001906, allocations: 64.77 kB / 378.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2491, allocations: 53.38 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0445/0.2936, allocations: 38.32 MB / 470.2 MB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03744/0.3311, allocations: 30.86 MB / 0.4894 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005844/0.3316, allocations: 7.938 kB / 0.4894 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.3329, allocations: 425.6 kB / 0.4898 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.3343, allocations: 0.5439 MB / 0.4903 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01669/0.351, allocations: 5.278 MB / 0.4955 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.3538, allocations: 1.375 MB / 0.4968 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.3543, allocations: 130.9 kB / 0.4969 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.3557, allocations: 0.5411 MB / 0.4975 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.3569, allocations: 466.2 kB / 0.4979 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.357, allocations: 52 kB / 0.498 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02595/0.3829, allocations: 12.96 MB / 0.5106 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.3833, allocations: 155.5 kB / 0.5108 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.3838, allocations: 330.8 kB / 0.5111 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03844/0.4222, allocations: 14.94 MB / 0.5257 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4222, allocations: 0 / 0.5257 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4222, allocations: 4 kB / 0.5257 GB, free: 12.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4223, allocations: 0 / 0.5257 GB, free: 12.23 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.007953/0.4302, allocations: 1.408 MB / 0.527 GB, free: 10.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4303, allocations: 8.031 kB / 0.527 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.4304, allocations: 90.52 kB / 0.5271 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.4312, allocations: 99.56 kB / 0.5272 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.4318, allocations: 324.3 kB / 0.5275 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.4318, allocations: 40.94 kB / 0.5276 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.4319, allocations: 44 kB / 0.5276 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4331, allocations: 0.6244 MB / 0.5282 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4331, allocations: 7.891 kB / 0.5282 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.4332, allocations: 28 kB / 0.5283 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.4332, allocations: 12 kB / 0.5283 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4342, allocations: 0.5269 MB / 0.5288 GB, free: 8.91 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.004461/0.4387, allocations: 3.659 MB / 0.5324 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009627/0.4396, allocations: 396.5 kB / 0.5327 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.44, allocations: 197.5 kB / 0.5329 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.4418, allocations: 0.6246 MB / 0.5335 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4419, allocations: 38.94 kB / 0.5336 GB, free: 3.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.014e-06/0.4419, allocations: 0 / 0.5336 GB, free: 3.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01001/0.4519, allocations: 1.886 MB / 0.5354 GB, free: 1.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.4519, allocations: 59.78 kB / 0.5355 GB, free: 1.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.4523, allocations: 316.4 kB / 0.5358 GB, free: 1.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.4523, allocations: 41.64 kB / 0.5358 GB, free: 1.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.4525, allocations: 233.2 kB / 0.536 GB, free: 1.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4527, allocations: 202.2 kB / 0.5362 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4529, allocations: 118.3 kB / 0.5363 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.453, allocations: 350.8 kB / 0.5367 GB, free: 456 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.4533, allocations: 173.2 kB / 0.5368 GB, free: 284 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.237/0.6903, allocations: 331.8 kB / 0.5372 GB, free: 96.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.6914, allocations: 0.5456 MB / 0.5377 GB, free: 96.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.6914, allocations: 4.5 kB / 0.5377 GB, free: 96.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001692/0.6931, allocations: 0.6714 MB / 0.5383 GB, free: 96.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6931, allocations: 12.42 kB / 0.5384 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6931, allocations: 4.281 kB / 0.5384 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01178/0.7049, allocations: 479.2 kB / 0.5388 GB, free: 96.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.7056, allocations: 141.2 kB / 0.539 GB, free: 96.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.7073, allocations: 2.98 MB / 0.5419 GB, free: 93.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.7077, allocations: 22.75 kB / 0.5419 GB, free: 93.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.7077, allocations: 27.42 kB / 0.5419 GB, free: 93.24 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.0002759/0.708, allocations: 190.7 kB / 0.5421 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.7082, allocations: 45.42 kB / 0.5421 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.7099, allocations: 1.073 MB / 0.5432 GB, free: 92.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.7099, allocations: 8.734 kB / 0.5432 GB, free: 92.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7099, allocations: 2.141 kB / 0.5432 GB, free: 92.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.7111, allocations: 1.117 MB / 0.5443 GB, free: 91.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.7134, allocations: 1.74 MB / 0.546 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7134, allocations: 1.188 kB / 0.546 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.7137, allocations: 102 kB / 0.5461 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/0.7168, allocations: 358.4 kB / 0.5464 GB, free: 90.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/0.7169, allocations: 17.73 kB / 0.5464 GB, free: 90.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004897/0.7174, allocations: 1.146 MB / 0.5476 GB, free: 89.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.7174, allocations: 0.6094 kB / 0.5476 GB, free: 89.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.7187, allocations: 1.149 MB / 0.5487 GB, free: 89.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.7189, allocations: 51.38 kB / 0.5487 GB, free: 89.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.7189, allocations: 18.39 kB / 0.5488 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.7192, allocations: 8 kB / 0.5488 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.7192, allocations: 40.19 kB / 0.5488 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.7193, allocations: 23.47 kB / 0.5488 GB, free: 89.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.7195, allocations: 255.1 kB / 0.5491 GB, free: 89.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7195, allocations: 0 / 0.5491 GB, free: 89.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005655/0.7252, allocations: 0.9775 MB / 0.55 GB, free: 88.98 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.02908/0.7543, allocations: 9.473 MB / 0.5593 GB, free: 82.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.7558, allocations: 0.6899 MB / 0.5599 GB, free: 82.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7558, allocations: 0 / 0.5599 GB, free: 82.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.7563, allocations: 355.6 kB / 0.5603 GB, free: 81.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.7575, allocations: 271 kB / 0.5605 GB, free: 81.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/0.7664, allocations: 5.345 MB / 0.5658 GB, free: 76.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.7666, allocations: 0.8699 MB / 0.5666 GB, free: 75.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004758/0.7671, allocations: 234.4 kB / 0.5668 GB, free: 75.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.7673, allocations: 199.4 kB / 0.567 GB, free: 75.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7673, allocations: 0 / 0.567 GB, free: 75.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/0.8374, allocations: 43.01 MB / 0.609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.22, allocations: 18.06 kB / 0.609 GB, free: 32.39 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 --stepSize=0.000201919 --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: 17.664129774086177] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 15.3766650701873 15.397017971 14.970889117 Calling exit ...