Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005515/0.005515, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 55.92 kB / 348 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2158, allocations: 49.16 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03483/0.2506, allocations: 38.25 MB / 435.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03366/0.2843, allocations: 30.82 MB / 466.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005861/0.2849, allocations: 11.94 kB / 466.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.2859, allocations: 425.7 kB / 466.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.2871, allocations: 0.5361 MB / 467.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.3001, allocations: 5.27 MB / 472.4 MB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3019, allocations: 1.379 MB / 473.8 MB, free: 6.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.3022, allocations: 134.8 kB / 474 MB, free: 6.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008406/0.303, allocations: 0.5333 MB / 474.5 MB, free: 5.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005962/0.3036, allocations: 466.2 kB / 474.9 MB, free: 5.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.908e-05/0.3037, allocations: 52 kB / 475 MB, free: 5.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/0.3267, allocations: 12.95 MB / 487.9 MB, free: 8.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.327, allocations: 151.5 kB / 488.1 MB, free: 8.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.3275, allocations: 330.7 kB / 488.4 MB, free: 7.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03394/0.3615, allocations: 14.93 MB / 0.4916 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3615, allocations: 3.938 kB / 0.4916 GB, free: 8.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3615, allocations: 0 / 0.4916 GB, free: 8.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3615, allocations: 0 / 0.4916 GB, free: 8.82 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.007818/0.3693, allocations: 1.4 MB / 0.4929 GB, free: 7.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3694, allocations: 11.98 kB / 0.4929 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.3694, allocations: 13 kB / 0.4929 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.963e-05/0.3695, allocations: 86.52 kB / 0.493 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.3701, allocations: 99.56 kB / 0.4931 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.3707, allocations: 328.2 kB / 0.4934 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3707, allocations: 37 kB / 0.4935 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.3708, allocations: 51.95 kB / 0.4935 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3719, allocations: 0.6205 MB / 0.4941 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3719, allocations: 3.938 kB / 0.4941 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.372, allocations: 27.98 kB / 0.4942 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.372, allocations: 15.94 kB / 0.4942 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.373, allocations: 0.523 MB / 0.4947 GB, free: 5.496 MB / 414.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.004202/0.3772, allocations: 3.675 MB / 0.4983 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008855/0.378, allocations: 395.6 kB / 0.4987 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.3783, allocations: 197.4 kB / 0.4988 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/0.3803, allocations: 0.6363 MB / 0.4995 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3803, allocations: 42.94 kB / 0.4995 GB, free: 280 kB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.794e-06/0.3803, allocations: 0 / 0.4995 GB, free: 280 kB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.008733/0.389, allocations: 1.889 MB / 0.5013 GB, free: 14.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3891, allocations: 55.84 kB / 0.5014 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.3894, allocations: 308.5 kB / 0.5017 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.3894, allocations: 33.64 kB / 0.5017 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3896, allocations: 237.2 kB / 0.502 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.3897, allocations: 202.3 kB / 0.5021 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.3899, allocations: 114.3 kB / 0.5023 GB, free: 13.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3901, allocations: 346.8 kB / 0.5026 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.3904, allocations: 189.2 kB / 0.5028 GB, free: 12.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.3908, allocations: 328 kB / 0.5031 GB, free: 12.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.3916, allocations: 0.5484 MB / 0.5036 GB, free: 11.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3916, allocations: 4 kB / 0.5036 GB, free: 11.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001234/0.3928, allocations: 0.6737 MB / 0.5043 GB, free: 11.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3928, allocations: 8 kB / 0.5043 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3928, allocations: 4.562 kB / 0.5043 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008792/0.4016, allocations: 442 kB / 0.5047 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.4022, allocations: 143.8 kB / 0.5048 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.4044, allocations: 2.989 MB / 0.5078 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.4047, allocations: 16 kB / 0.5078 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.4047, allocations: 28 kB / 0.5078 GB, free: 7.332 MB / 430.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.0002619/0.405, allocations: 190 kB / 0.508 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.4051, allocations: 51.72 kB / 0.508 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.4067, allocations: 1.079 MB / 0.5091 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4067, allocations: 8 kB / 0.5091 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4067, allocations: 3.938 kB / 0.5091 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.408, allocations: 1.11 MB / 0.5102 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.4103, allocations: 1.74 MB / 0.5119 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4103, allocations: 0 / 0.5119 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.4107, allocations: 95.89 kB / 0.512 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/0.4136, allocations: 357.1 kB / 0.5123 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.4136, allocations: 12 kB / 0.5123 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000758/0.4144, allocations: 1.155 MB / 0.5135 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4144, allocations: 4.031 kB / 0.5135 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.4159, allocations: 1.148 MB / 0.5146 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.416, allocations: 47.61 kB / 0.5146 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.4161, allocations: 23.91 kB / 0.5146 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.4164, allocations: 8 kB / 0.5147 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.4164, allocations: 36.44 kB / 0.5147 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.4165, allocations: 23.92 kB / 0.5147 GB, free: 16 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.4168, allocations: 251 kB / 0.515 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4168, allocations: 0 / 0.515 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004849/0.4216, allocations: 0.974 MB / 0.5159 GB, free: 14.79 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.03091/0.4525, allocations: 9.471 MB / 0.5252 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.4542, allocations: 0.6923 MB / 0.5258 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4542, allocations: 0 / 0.5258 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.4549, allocations: 355.2 kB / 0.5262 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.4563, allocations: 264.9 kB / 0.5264 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.4673, allocations: 5.34 MB / 0.5316 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.4678, allocations: 0.8688 MB / 0.5325 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.4684, allocations: 241.5 kB / 0.5327 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.4686, allocations: 199.4 kB / 0.5329 GB, free: 13.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4686, allocations: 0 / 0.5329 GB, free: 13.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2237/0.6923, allocations: 42.98 MB / 0.5749 GB, free: 139.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.36, allocations: 7.422 kB / 0.5749 GB, free: 139.5 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.70368681999389] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.561477941984776 14.572434347 14.208430717 Calling exit ...