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.001404/0.001404, allocations: 110.5 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.001588/0.001588, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002013/0.002013, allocations: 68.75 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2827, allocations: 53.38 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04316/0.3258, allocations: 38.31 MB / 470.2 MB, free: 436 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03671/0.3625, allocations: 30.85 MB / 0.4894 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005961/0.3631, allocations: 7.938 kB / 0.4894 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.3644, allocations: 425.6 kB / 0.4898 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.3657, allocations: 0.54 MB / 0.4903 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01488/0.3805, allocations: 5.287 MB / 0.4955 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002049/0.3826, allocations: 1.375 MB / 0.4968 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.3829, allocations: 122.9 kB / 0.4969 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009572/0.3838, allocations: 0.5411 MB / 0.4974 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.3845, allocations: 466.2 kB / 0.4979 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.3846, allocations: 52 kB / 0.4979 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.025/0.4096, allocations: 12.96 MB / 0.5106 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.4099, allocations: 163.4 kB / 0.5107 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.4105, allocations: 322.8 kB / 0.5111 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03683/0.4473, allocations: 14.94 MB / 0.5256 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4473, allocations: 0 / 0.5256 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4473, allocations: 3.938 kB / 0.5257 GB, free: 12.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4473, allocations: 4 kB / 0.5257 GB, free: 12.22 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.008721/0.4561, allocations: 1.408 MB / 0.527 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4561, allocations: 12.03 kB / 0.527 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.4562, allocations: 86.52 kB / 0.5271 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.4571, allocations: 99.56 kB / 0.5272 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.4578, allocations: 332.2 kB / 0.5275 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.4578, allocations: 37 kB / 0.5276 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.806e-05/0.4579, allocations: 44 kB / 0.5276 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.4591, allocations: 0.6283 MB / 0.5282 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4592, allocations: 3.953 kB / 0.5282 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.4592, allocations: 24 kB / 0.5283 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.4592, allocations: 12 kB / 0.5283 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4603, allocations: 0.5346 MB / 0.5288 GB, free: 8.895 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.004776/0.4651, allocations: 3.66 MB / 0.5324 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4661, allocations: 384.6 kB / 0.5327 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.4665, allocations: 197.5 kB / 0.5329 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/0.4684, allocations: 0.6323 MB / 0.5335 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.4685, allocations: 38.94 kB / 0.5336 GB, free: 3.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.334e-06/0.4685, allocations: 0 / 0.5336 GB, free: 3.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01055/0.479, allocations: 1.89 MB / 0.5354 GB, free: 1.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4791, allocations: 59.78 kB / 0.5355 GB, free: 1.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.4795, allocations: 316.4 kB / 0.5358 GB, free: 1.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.4795, allocations: 33.7 kB / 0.5358 GB, free: 1.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.4797, allocations: 229.2 kB / 0.536 GB, free: 1.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.4799, allocations: 206.2 kB / 0.5362 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.4801, allocations: 118.3 kB / 0.5363 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4803, allocations: 346.8 kB / 0.5367 GB, free: 452 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.4806, allocations: 177.2 kB / 0.5368 GB, free: 276 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2619/0.7425, allocations: 328.9 kB / 0.5371 GB, free: 28.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.7438, allocations: 0.5441 MB / 0.5377 GB, free: 28.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.7438, allocations: 2.375 kB / 0.5377 GB, free: 28.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001834/0.7456, allocations: 0.6708 MB / 0.5383 GB, free: 28.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.7456, allocations: 16.48 kB / 0.5384 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.7457, allocations: 5.406 kB / 0.5384 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/0.7578, allocations: 472 kB / 0.5388 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.7584, allocations: 142.4 kB / 0.5389 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.7601, allocations: 2.989 MB / 0.5419 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.7605, allocations: 17.28 kB / 0.5419 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.7606, allocations: 28.73 kB / 0.5419 GB, free: 25.66 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.0002458/0.7608, allocations: 182.5 kB / 0.5421 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.761, allocations: 45.72 kB / 0.5421 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.7625, allocations: 1.075 MB / 0.5432 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.7625, allocations: 14.02 kB / 0.5432 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.7625, allocations: 1.719 kB / 0.5432 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/0.7636, allocations: 1.117 MB / 0.5443 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.7659, allocations: 1.739 MB / 0.546 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7659, allocations: 0.5625 kB / 0.546 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.7663, allocations: 102 kB / 0.5461 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/0.7695, allocations: 355.7 kB / 0.5464 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.7696, allocations: 16.19 kB / 0.5464 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005061/0.7701, allocations: 1.153 MB / 0.5476 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7701, allocations: 1.156 kB / 0.5476 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.7716, allocations: 1.153 MB / 0.5487 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.7717, allocations: 48.88 kB / 0.5487 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.7718, allocations: 20.89 kB / 0.5487 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.772, allocations: 12.44 kB / 0.5488 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.7721, allocations: 37.03 kB / 0.5488 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.7721, allocations: 22.78 kB / 0.5488 GB, free: 23.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.7724, allocations: 248 kB / 0.5491 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7724, allocations: 0 / 0.5491 GB, free: 23.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00547/0.7779, allocations: 0.98 MB / 0.55 GB, free: 23.39 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.03153/0.8094, allocations: 9.475 MB / 0.5593 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.8113, allocations: 0.6925 MB / 0.5599 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.8113, allocations: 5.031 kB / 0.5599 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.8121, allocations: 342.6 kB / 0.5603 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.8137, allocations: 267.2 kB / 0.5605 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.8282, allocations: 5.35 MB / 0.5658 GB, free: 16.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.8286, allocations: 0.8701 MB / 0.5666 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006342/0.8293, allocations: 234.6 kB / 0.5668 GB, free: 16.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.8296, allocations: 204.7 kB / 0.567 GB, free: 16.03 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.8296, allocations: 0 / 0.567 GB, free: 16.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09392/0.9235, allocations: 43.01 MB / 0.609 GB, free: 15.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.56, allocations: 8.062 kB / 0.609 GB, free: 15.04 MB / 478.1 MB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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: 18.05684887431562] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 15.690379580948502 15.704943585 15.25410818 Calling exit ...