Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00123/0.00123, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001393/0.001393, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 59.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.228, allocations: 53.41 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04374/0.2717, allocations: 38.32 MB / 470.3 MB, free: 236 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03618/0.3079, allocations: 30.86 MB / 0.4894 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.3084, allocations: 11.94 kB / 0.4894 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3097, allocations: 429.7 kB / 0.4898 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.3109, allocations: 0.5361 MB / 0.4904 GB, free: 296 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01472/0.3256, allocations: 5.283 MB / 0.4955 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.3276, allocations: 1.383 MB / 0.4969 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.3279, allocations: 126.9 kB / 0.497 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.3288, allocations: 0.5372 MB / 0.4975 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.3294, allocations: 470.1 kB / 0.498 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.3295, allocations: 52 kB / 0.498 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02295/0.3525, allocations: 12.96 MB / 0.5107 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.3527, allocations: 159.4 kB / 0.5108 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004907/0.3532, allocations: 318.8 kB / 0.5111 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03508/0.3883, allocations: 14.94 MB / 0.5257 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3883, allocations: 0 / 0.5257 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3883, allocations: 0 / 0.5257 GB, free: 12.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3883, allocations: 0 / 0.5257 GB, free: 12.01 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.008648/0.397, allocations: 1.404 MB / 0.5271 GB, free: 10.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.397, allocations: 12.03 kB / 0.5271 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.49e-05/0.3971, allocations: 12.98 kB / 0.5271 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.3972, allocations: 86.53 kB / 0.5272 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/0.398, allocations: 99.56 kB / 0.5273 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.3986, allocations: 328.2 kB / 0.5276 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.3986, allocations: 40.98 kB / 0.5276 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.3987, allocations: 48 kB / 0.5277 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.3999, allocations: 0.6205 MB / 0.5283 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.4, allocations: 11.95 kB / 0.5283 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.4, allocations: 16 kB / 0.5283 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4, allocations: 15.94 kB / 0.5283 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.4011, allocations: 0.5347 MB / 0.5289 GB, free: 8.668 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.004832/0.406, allocations: 3.656 MB / 0.5324 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009883/0.4069, allocations: 402.8 kB / 0.5328 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.4073, allocations: 201.5 kB / 0.533 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/0.4092, allocations: 0.6168 MB / 0.5336 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4092, allocations: 38.94 kB / 0.5336 GB, free: 3.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.4093, allocations: 0 / 0.5336 GB, free: 3.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009868/0.4191, allocations: 1.894 MB / 0.5355 GB, free: 1.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.4192, allocations: 59.84 kB / 0.5356 GB, free: 1.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.4195, allocations: 312.4 kB / 0.5359 GB, free: 1.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.4196, allocations: 37.7 kB / 0.5359 GB, free: 1.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.4197, allocations: 229.2 kB / 0.5361 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.4199, allocations: 202.2 kB / 0.5363 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.4201, allocations: 122.3 kB / 0.5364 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4202, allocations: 358.7 kB / 0.5368 GB, free: 212 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.4205, allocations: 181.2 kB / 0.5369 GB, free: 32 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1892/0.6097, allocations: 321.5 kB / 0.5372 GB, free: 96.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.6107, allocations: 0.5471 MB / 0.5378 GB, free: 96.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6107, allocations: 1.25 kB / 0.5378 GB, free: 96.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001605/0.6123, allocations: 0.6779 MB / 0.5384 GB, free: 96.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6124, allocations: 6.125 kB / 0.5384 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6124, allocations: 5.188 kB / 0.5384 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.6237, allocations: 472.4 kB / 0.5389 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.6244, allocations: 141.9 kB / 0.539 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.6261, allocations: 2.982 MB / 0.5419 GB, free: 93.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.6265, allocations: 14.91 kB / 0.542 GB, free: 93.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.6265, allocations: 31.58 kB / 0.542 GB, free: 93.17 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.0002898/0.6268, allocations: 191.1 kB / 0.5422 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.6271, allocations: 45.89 kB / 0.5422 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.6286, allocations: 1.08 MB / 0.5433 GB, free: 92.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.6286, allocations: 8.047 kB / 0.5433 GB, free: 92.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6286, allocations: 2.25 kB / 0.5433 GB, free: 92.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.6296, allocations: 1.113 MB / 0.5444 GB, free: 91.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.6318, allocations: 1.744 MB / 0.5461 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6318, allocations: 0 / 0.5461 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.6322, allocations: 101.3 kB / 0.5462 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002796/0.6349, allocations: 353.4 kB / 0.5465 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.635, allocations: 18.02 kB / 0.5465 GB, free: 90.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004615/0.6355, allocations: 1.153 MB / 0.5476 GB, free: 89.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6355, allocations: 0 / 0.5476 GB, free: 89.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.6368, allocations: 1.154 MB / 0.5488 GB, free: 89.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6369, allocations: 49.91 kB / 0.5488 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.637, allocations: 16.55 kB / 0.5488 GB, free: 89.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.6372, allocations: 14.59 kB / 0.5488 GB, free: 89.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.6373, allocations: 40.59 kB / 0.5489 GB, free: 89.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.6373, allocations: 22.81 kB / 0.5489 GB, free: 89.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.6376, allocations: 251.8 kB / 0.5492 GB, free: 88.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6376, allocations: 1.312 kB / 0.5492 GB, free: 88.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005076/0.6426, allocations: 0.9798 MB / 0.5501 GB, free: 88.91 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.03001/0.6726, allocations: 9.468 MB / 0.5594 GB, free: 82.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.6742, allocations: 0.6897 MB / 0.56 GB, free: 81.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6742, allocations: 0 / 0.56 GB, free: 81.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005429/0.6748, allocations: 348.6 kB / 0.5604 GB, free: 81.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6761, allocations: 262.4 kB / 0.5606 GB, free: 81.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009665/0.6858, allocations: 5.356 MB / 0.5658 GB, free: 76.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.6861, allocations: 0.866 MB / 0.5667 GB, free: 75.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004653/0.6865, allocations: 239.4 kB / 0.5669 GB, free: 75.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.6867, allocations: 203.4 kB / 0.5671 GB, free: 74.98 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6867, allocations: 0 / 0.5671 GB, free: 74.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06497/0.7517, allocations: 43.03 MB / 0.6091 GB, free: 32.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.81, allocations: 15.44 kB / 0.6091 GB, free: 32.02 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.198758591956] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 15.017386415973306 15.032218018 14.640758157 Calling exit ...