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.001214/0.001214, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001271/0.001271, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.318/1.318, allocations: 207.6 MB / 232.5 MB, free: 3.758 MB / 174.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.001608/0.001608, allocations: 51.94 kB / 343 MB, free: 9.957 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07763/0.07924, allocations: 49.13 MB / 392.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03732/0.1166, allocations: 37.9 MB / 430 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.1484, allocations: 30.72 MB / 460.7 MB, free: 3.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.1488, allocations: 7.938 kB / 460.8 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009834/0.1498, allocations: 429.7 kB / 461.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009553/0.1508, allocations: 0.5283 MB / 461.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1764/0.3272, allocations: 5.229 MB / 466.9 MB, free: 6.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.3287, allocations: 1.357 MB / 468.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.3289, allocations: 124.3 kB / 468.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.3296, allocations: 0.5477 MB / 469 MB, free: 6.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.3301, allocations: 462.6 kB / 469.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.3302, allocations: 53.84 kB / 469.5 MB, free: 6.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01921/0.3494, allocations: 12.89 MB / 482.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.3497, allocations: 155.9 kB / 482.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.3503, allocations: 323 kB / 482.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03012/0.3804, allocations: 14.93 MB / 497.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3804, allocations: 0 / 497.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3804, allocations: 1.312 kB / 497.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3804, allocations: 0 / 497.7 MB, free: 15.78 MB / 398.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.008989/0.3894, allocations: 1.473 MB / 499.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3894, allocations: 18.97 kB / 499.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.643e-05/0.3895, allocations: 13 kB / 499.2 MB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.212e-05/0.3896, allocations: 85.47 kB / 499.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.3902, allocations: 93.69 kB / 499.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.3908, allocations: 390.5 kB / 499.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.3908, allocations: 36.19 kB / 499.8 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.3909, allocations: 46.12 kB / 499.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.392, allocations: 0.6223 MB / 0.4888 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.392, allocations: 5.312 kB / 0.4888 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.392, allocations: 20.59 kB / 0.4888 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.392, allocations: 15.38 kB / 0.4888 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.393, allocations: 0.5263 MB / 0.4893 GB, free: 12.95 MB / 398.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.004125/0.3971, allocations: 3.817 MB / 0.4931 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.398, allocations: 396.9 kB / 0.4934 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.3983, allocations: 206.5 kB / 0.4936 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003452/0.4017, allocations: 3.452 MB / 0.497 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4017, allocations: 38.28 kB / 0.497 GB, free: 4.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.4017, allocations: 0 / 0.497 GB, free: 4.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.009/0.4107, allocations: 2.028 MB / 0.499 GB, free: 3.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.4108, allocations: 66.83 kB / 0.4991 GB, free: 3.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.4111, allocations: 308.6 kB / 0.4994 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.4111, allocations: 40.48 kB / 0.4994 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.4113, allocations: 230.7 kB / 0.4996 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.4114, allocations: 202.5 kB / 0.4998 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.4116, allocations: 117.1 kB / 0.4999 GB, free: 2.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4118, allocations: 354.7 kB / 0.5003 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.4121, allocations: 178.2 kB / 0.5005 GB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.4125, allocations: 332.7 kB / 0.5008 GB, free: 1.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/0.4132, allocations: 0.5487 MB / 0.5013 GB, free: 1.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4132, allocations: 0 / 0.5013 GB, free: 1.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001183/0.4144, allocations: 0.6779 MB / 0.502 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4144, allocations: 4 kB / 0.502 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4144, allocations: 4.781 kB / 0.502 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009229/0.4237, allocations: 453.3 kB / 0.5024 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.4242, allocations: 148 kB / 0.5025 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.4264, allocations: 3.084 MB / 0.5056 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.4266, allocations: 20.05 kB / 0.5056 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.4267, allocations: 27.69 kB / 0.5056 GB, free: 13.11 MB / 414.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.0002157/0.4269, allocations: 187.8 kB / 0.5058 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.427, allocations: 51.69 kB / 0.5058 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.4285, allocations: 1.056 MB / 0.5069 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4285, allocations: 9.297 kB / 0.5069 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4285, allocations: 0 / 0.5069 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.4297, allocations: 1.094 MB / 0.5079 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.4317, allocations: 1.73 MB / 0.5096 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4317, allocations: 1.344 kB / 0.5096 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.4321, allocations: 97.48 kB / 0.5097 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/0.435, allocations: 357.7 kB / 0.5101 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.4351, allocations: 13.12 kB / 0.5101 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007474/0.4358, allocations: 1.15 MB / 0.5112 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4358, allocations: 1.312 kB / 0.5112 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.4372, allocations: 1.13 MB / 0.5123 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4373, allocations: 128.8 kB / 0.5124 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.4374, allocations: 11.19 kB / 0.5124 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4376, allocations: 10.41 kB / 0.5124 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.4377, allocations: 38.2 kB / 0.5125 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.4377, allocations: 19.42 kB / 0.5125 GB, free: 7.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.438, allocations: 248.7 kB / 0.5127 GB, free: 7.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.438, allocations: 1.719 kB / 0.5127 GB, free: 7.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005676/0.4437, allocations: 0.9747 MB / 0.5137 GB, free: 6.562 MB / 414.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.03061/0.4743, allocations: 9.461 MB / 0.5229 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.4759, allocations: 0.6826 MB / 0.5236 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4759, allocations: 0 / 0.5236 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.4765, allocations: 357.9 kB / 0.5239 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.4779, allocations: 261.2 kB / 0.5242 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4884, allocations: 5.339 MB / 0.5294 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.4889, allocations: 0.8609 MB / 0.5302 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.4894, allocations: 248.6 kB / 0.5305 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.4897, allocations: 199.4 kB / 0.5307 GB, free: 5.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4897, allocations: 0 / 0.5307 GB, free: 5.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07658/0.5663, allocations: 42.35 MB / 0.572 GB, free: 11.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.65, allocations: 10.58 kB / 0.572 GB, free: 11.09 MB / 478.1 MB " [Timeout remaining time 646] (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: 65.99944739200873] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 13.825538194039837 13.838718442 13.455545269 Calling exit ...