Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 188.3 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 51.91 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2358, allocations: 52.17 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03815/0.274, allocations: 34.68 MB / 458 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03145/0.3054, allocations: 27.11 MB / 485.1 MB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.3059, allocations: 11.88 kB / 485.2 MB, free: 396 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009878/0.3069, allocations: 377.9 kB / 485.5 MB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.3079, allocations: 0.5322 MB / 486.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.3205, allocations: 5.252 MB / 491.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.3223, allocations: 1.387 MB / 492.7 MB, free: 8.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.3225, allocations: 122.8 kB / 492.8 MB, free: 8.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/0.3233, allocations: 0.5567 MB / 493.4 MB, free: 8.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.3239, allocations: 462.2 kB / 493.8 MB, free: 7.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.324, allocations: 52 kB / 493.9 MB, free: 7.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02301/0.347, allocations: 12.72 MB / 0.4947 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.3474, allocations: 155.5 kB / 0.4949 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005111/0.3479, allocations: 271 kB / 0.4951 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04038/0.3882, allocations: 14.94 MB / 0.5097 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3883, allocations: 3.938 kB / 0.5097 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3883, allocations: 0 / 0.5097 GB, free: 11.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.3883, allocations: 7.984 kB / 0.5097 GB, free: 11.5 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.006998/0.3953, allocations: 1.388 MB / 0.5111 GB, free: 10.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3953, allocations: 12.03 kB / 0.5111 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.602e-05/0.3953, allocations: 20.98 kB / 0.5111 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.3954, allocations: 86.52 kB / 0.5112 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.3961, allocations: 91.58 kB / 0.5113 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.3967, allocations: 328.3 kB / 0.5116 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.3967, allocations: 37 kB / 0.5116 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.3968, allocations: 48 kB / 0.5117 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3981, allocations: 0.8213 MB / 0.5125 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3982, allocations: 7.938 kB / 0.5125 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/0.3982, allocations: 20 kB / 0.5125 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.3982, allocations: 19.88 kB / 0.5125 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3992, allocations: 0.5269 MB / 0.513 GB, free: 7.938 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.003878/0.4031, allocations: 2.806 MB / 0.5158 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.404, allocations: 396.2 kB / 0.5162 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.4043, allocations: 196.8 kB / 0.5163 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/0.4062, allocations: 0.6207 MB / 0.517 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4062, allocations: 42.88 kB / 0.517 GB, free: 3.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 1.793e-06/0.4062, allocations: 0 / 0.517 GB, free: 3.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.009134/0.4154, allocations: 1.891 MB / 0.5188 GB, free: 1.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.4154, allocations: 55.84 kB / 0.5189 GB, free: 1.789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.4157, allocations: 308.5 kB / 0.5192 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.4158, allocations: 41.64 kB / 0.5192 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.416, allocations: 237.1 kB / 0.5195 GB, free: 1.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.4161, allocations: 198.3 kB / 0.5196 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.4163, allocations: 118.3 kB / 0.5198 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4165, allocations: 346.8 kB / 0.5201 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.4168, allocations: 181.2 kB / 0.5203 GB, free: 368 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.4172, allocations: 328.1 kB / 0.5206 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/0.418, allocations: 0.5562 MB / 0.5211 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.418, allocations: 0 / 0.5211 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001268/0.4193, allocations: 0.6776 MB / 0.5218 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4193, allocations: 8 kB / 0.5218 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4193, allocations: 4 kB / 0.5218 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009555/0.4289, allocations: 446.6 kB / 0.5222 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.4294, allocations: 139.8 kB / 0.5223 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.4317, allocations: 2.986 MB / 0.5253 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.432, allocations: 24.09 kB / 0.5253 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.432, allocations: 31.97 kB / 0.5253 GB, free: 10.84 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.0002598/0.4323, allocations: 185.7 kB / 0.5255 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4324, allocations: 47.7 kB / 0.5255 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.434, allocations: 1.075 MB / 0.5266 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.434, allocations: 11.98 kB / 0.5266 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.434, allocations: 3.938 kB / 0.5266 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.4353, allocations: 1.114 MB / 0.5277 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.4375, allocations: 1.662 MB / 0.5293 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4375, allocations: 0 / 0.5293 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.4379, allocations: 99.89 kB / 0.5294 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/0.4409, allocations: 361 kB / 0.5298 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.4409, allocations: 12 kB / 0.5298 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007831/0.4417, allocations: 1.152 MB / 0.5309 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4417, allocations: 4.188 kB / 0.5309 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.4433, allocations: 1.147 MB / 0.532 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.4434, allocations: 51.64 kB / 0.5321 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.4435, allocations: 27.83 kB / 0.5321 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.4437, allocations: 8 kB / 0.5321 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.4438, allocations: 40.42 kB / 0.5321 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.4438, allocations: 16 kB / 0.5322 GB, free: 3.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002784/0.4441, allocations: 247 kB / 0.5324 GB, free: 3.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4441, allocations: 0 / 0.5324 GB, free: 3.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00504/0.4491, allocations: 0.978 MB / 0.5333 GB, free: 2.383 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.2074/0.6565, allocations: 9.472 MB / 0.5426 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.6581, allocations: 0.6959 MB / 0.5433 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.6581, allocations: 0 / 0.5433 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.6586, allocations: 349.8 kB / 0.5436 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.6599, allocations: 258.8 kB / 0.5439 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008743/0.6686, allocations: 5.345 MB / 0.5491 GB, free: 98.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.6688, allocations: 264.9 kB / 0.5493 GB, free: 97.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004271/0.6693, allocations: 245 kB / 0.5496 GB, free: 97.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.6695, allocations: 201.7 kB / 0.5498 GB, free: 97.45 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6695, allocations: 0 / 0.5498 GB, free: 97.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06203/0.7315, allocations: 43.49 MB / 0.5922 GB, free: 55.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.16, allocations: 7.984 kB / 0.5922 GB, free: 55.18 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.858212177059613] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 15.36998986301478 15.379697415 14.989207562 Calling exit ...