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.001821/0.001821, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002256/0.002256, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.484/1.484, allocations: 230.5 MB / 254.8 MB, free: 15.26 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.001949/0.001949, allocations: 71.81 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1047, allocations: 53.32 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2434/0.3481, allocations: 37.99 MB / 465 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03604/0.3841, allocations: 30.74 MB / 495.7 MB, free: 14.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.3848, allocations: 10.75 kB / 495.8 MB, free: 14.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.3861, allocations: 431.7 kB / 496.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.3875, allocations: 0.5264 MB / 496.7 MB, free: 14.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.4043, allocations: 5.238 MB / 0.4902 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.4065, allocations: 1.353 MB / 0.4915 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.4068, allocations: 126.4 kB / 0.4916 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.4078, allocations: 0.5462 MB / 0.4921 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.4084, allocations: 464.2 kB / 0.4926 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.4085, allocations: 52.69 kB / 0.4926 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02514/0.4336, allocations: 12.9 MB / 0.5052 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.434, allocations: 155.4 kB / 0.5054 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.4347, allocations: 318.8 kB / 0.5057 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03821/0.4729, allocations: 14.94 MB / 0.5203 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4729, allocations: 0 / 0.5203 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4729, allocations: 0 / 0.5203 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4729, allocations: 0 / 0.5203 GB, free: 0.5117 MB / 414.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.008491/0.4814, allocations: 1.475 MB / 0.5217 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4814, allocations: 8.031 kB / 0.5217 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.4815, allocations: 91.02 kB / 0.5218 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.4824, allocations: 99.56 kB / 0.5219 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.4829, allocations: 390.1 kB / 0.5223 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.483, allocations: 33 kB / 0.5223 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.4831, allocations: 52 kB / 0.5224 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4842, allocations: 0.6267 MB / 0.523 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4843, allocations: 0 / 0.523 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.4843, allocations: 20 kB / 0.523 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.4843, allocations: 13.83 kB / 0.523 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4854, allocations: 0.5307 MB / 0.5235 GB, free: 13.04 MB / 430.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.004435/0.4898, allocations: 3.798 MB / 0.5272 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009601/0.4908, allocations: 393.6 kB / 0.5276 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.4911, allocations: 205.5 kB / 0.5278 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003976/0.4951, allocations: 3.459 MB / 0.5312 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.4951, allocations: 38.94 kB / 0.5312 GB, free: 4.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.604e-06/0.4951, allocations: 4 kB / 0.5312 GB, free: 4.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.01051/0.5056, allocations: 2.032 MB / 0.5332 GB, free: 2.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5057, allocations: 67.78 kB / 0.5333 GB, free: 1.941 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.506, allocations: 304.5 kB / 0.5336 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.5061, allocations: 37.7 kB / 0.5336 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.5063, allocations: 229.2 kB / 0.5338 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.5064, allocations: 202.3 kB / 0.534 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.5066, allocations: 118.3 kB / 0.5341 GB, free: 1.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5068, allocations: 350.8 kB / 0.5345 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.5071, allocations: 177.2 kB / 0.5346 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.5076, allocations: 336 kB / 0.5349 GB, free: 140 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/0.5084, allocations: 0.5486 MB / 0.5355 GB, free: 15.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5084, allocations: 0 / 0.5355 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001559/0.51, allocations: 0.6708 MB / 0.5361 GB, free: 14.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.51, allocations: 15.88 kB / 0.5362 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.51, allocations: 4 kB / 0.5362 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.5221, allocations: 474.5 kB / 0.5366 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.5227, allocations: 147.7 kB / 0.5368 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.5253, allocations: 3.09 MB / 0.5398 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.5256, allocations: 24.8 kB / 0.5398 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.5257, allocations: 28 kB / 0.5398 GB, free: 10.85 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.0002866/0.526, allocations: 188.5 kB / 0.54 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.5262, allocations: 51.69 kB / 0.54 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.5278, allocations: 1.043 MB / 0.5411 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5278, allocations: 11.98 kB / 0.5411 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.5278, allocations: 0 / 0.5411 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.5291, allocations: 1.095 MB / 0.5421 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.5315, allocations: 1.729 MB / 0.5438 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5315, allocations: 0 / 0.5438 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.532, allocations: 103.8 kB / 0.5439 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/0.535, allocations: 349 kB / 0.5443 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.535, allocations: 16 kB / 0.5443 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007963/0.5358, allocations: 1.144 MB / 0.5454 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5358, allocations: 0 / 0.5454 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5374, allocations: 1.133 MB / 0.5465 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5376, allocations: 128.6 kB / 0.5466 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.5376, allocations: 19.98 kB / 0.5466 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.5379, allocations: 15.94 kB / 0.5467 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.5379, allocations: 32.52 kB / 0.5467 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.538, allocations: 23.98 kB / 0.5467 GB, free: 3.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.5382, allocations: 247 kB / 0.547 GB, free: 3.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5382, allocations: 4 kB / 0.547 GB, free: 3.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005713/0.544, allocations: 0.9779 MB / 0.5479 GB, free: 2.309 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.03141/0.5754, allocations: 9.462 MB / 0.5572 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.5771, allocations: 0.6956 MB / 0.5578 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5771, allocations: 0 / 0.5578 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.5777, allocations: 340.6 kB / 0.5582 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.5791, allocations: 263 kB / 0.5584 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.5912, allocations: 5.346 MB / 0.5636 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.5917, allocations: 0.8609 MB / 0.5645 GB, free: 1.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005712/0.5923, allocations: 240.1 kB / 0.5647 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.5925, allocations: 199.4 kB / 0.5649 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5925, allocations: 0 / 0.5649 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/0.679, allocations: 42.42 MB / 0.6063 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.59, allocations: 2.344 kB / 0.6063 GB, free: 6.332 MB / 0.4981 GB " [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 & 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: 17.158765386790037] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.723012597765774 14.742398101 14.266542729 Calling exit ...