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.005813/0.005813, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001658/0.001658, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.308/1.308, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001641/0.001641, allocations: 55.92 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2323, allocations: 49.15 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03232/0.2647, allocations: 34.7 MB / 431.8 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03099/0.2956, allocations: 27.11 MB / 459 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.2961, allocations: 11.94 kB / 459 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2972, allocations: 373.8 kB / 459.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2984, allocations: 0.5361 MB / 459.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.3116, allocations: 5.252 MB / 465.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.3136, allocations: 1.379 MB / 466.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.3139, allocations: 130.8 kB / 466.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/0.3148, allocations: 0.5527 MB / 467.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.3154, allocations: 462.2 kB / 467.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.306e-05/0.3155, allocations: 55.94 kB / 467.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02515/0.3407, allocations: 12.72 MB / 480.4 MB, free: 15.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.341, allocations: 159.5 kB / 480.6 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.3414, allocations: 271 kB / 480.8 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04082/0.3822, allocations: 14.94 MB / 495.8 MB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.3823, allocations: 0 / 495.8 MB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3823, allocations: 0 / 495.8 MB, free: 276 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3823, allocations: 0 / 495.8 MB, free: 276 kB / 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.008372/0.3906, allocations: 1.392 MB / 497.2 MB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3907, allocations: 11.98 kB / 497.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.865e-05/0.3907, allocations: 17 kB / 497.2 MB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.3908, allocations: 90.52 kB / 497.3 MB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.3916, allocations: 91.58 kB / 497.4 MB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.3922, allocations: 332.2 kB / 497.7 MB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.3923, allocations: 33 kB / 497.7 MB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.3924, allocations: 51.95 kB / 497.8 MB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.3937, allocations: 0.8252 MB / 498.6 MB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3937, allocations: 4 kB / 498.6 MB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.3938, allocations: 23.98 kB / 498.6 MB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.3938, allocations: 15.94 kB / 498.6 MB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3949, allocations: 0.5307 MB / 499.2 MB, free: 12.69 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.004113/0.399, allocations: 2.805 MB / 0.4902 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009626/0.3999, allocations: 388.1 kB / 0.4906 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.4002, allocations: 201.3 kB / 0.4908 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/0.4022, allocations: 0.6246 MB / 0.4914 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.4022, allocations: 38.94 kB / 0.4914 GB, free: 8.547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.685e-06/0.4022, allocations: 0 / 0.4914 GB, free: 8.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009155/0.4114, allocations: 1.893 MB / 0.4933 GB, free: 6.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.4114, allocations: 55.84 kB / 0.4933 GB, free: 6.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.4118, allocations: 308.5 kB / 0.4936 GB, free: 6.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.4118, allocations: 33.7 kB / 0.4936 GB, free: 6.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.412, allocations: 245.1 kB / 0.4939 GB, free: 5.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.4121, allocations: 202.3 kB / 0.4941 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.4123, allocations: 118.3 kB / 0.4942 GB, free: 5.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4125, allocations: 350.8 kB / 0.4945 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.4128, allocations: 181.2 kB / 0.4947 GB, free: 5.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.4132, allocations: 336 kB / 0.495 GB, free: 4.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.4141, allocations: 0.5407 MB / 0.4955 GB, free: 4.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4141, allocations: 0 / 0.4955 GB, free: 4.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001293/0.4154, allocations: 0.6742 MB / 0.4962 GB, free: 3.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4154, allocations: 12.06 kB / 0.4962 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4154, allocations: 4 kB / 0.4962 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009749/0.4251, allocations: 442 kB / 0.4966 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.4257, allocations: 143.8 kB / 0.4968 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.4281, allocations: 2.986 MB / 0.4997 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.4284, allocations: 16 kB / 0.4997 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.4284, allocations: 27.98 kB / 0.4997 GB, free: 15.59 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.0002697/0.4287, allocations: 190 kB / 0.4999 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4288, allocations: 47.72 kB / 0.5 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.4306, allocations: 1.071 MB / 0.501 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.4306, allocations: 15.98 kB / 0.501 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4306, allocations: 7.875 kB / 0.501 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.432, allocations: 1.11 MB / 0.5021 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.4343, allocations: 1.662 MB / 0.5037 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4343, allocations: 0 / 0.5037 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.4347, allocations: 99.88 kB / 0.5038 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/0.4378, allocations: 357.1 kB / 0.5042 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.4379, allocations: 15.98 kB / 0.5042 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008155/0.4387, allocations: 1.152 MB / 0.5053 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4387, allocations: 3.938 kB / 0.5053 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.4403, allocations: 1.144 MB / 0.5064 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.4404, allocations: 55.64 kB / 0.5065 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.4405, allocations: 19.88 kB / 0.5065 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.4408, allocations: 8 kB / 0.5065 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.4408, allocations: 44.61 kB / 0.5066 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.4409, allocations: 19.98 kB / 0.5066 GB, free: 8.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.4412, allocations: 251 kB / 0.5068 GB, free: 8.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4412, allocations: 0 / 0.5068 GB, free: 8.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005454/0.4466, allocations: 0.9702 MB / 0.5078 GB, free: 7.129 MB / 430.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.03191/0.4785, allocations: 9.471 MB / 0.517 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.4801, allocations: 0.6951 MB / 0.5177 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4801, allocations: 1.125 kB / 0.5177 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.4807, allocations: 351.2 kB / 0.518 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4821, allocations: 274.2 kB / 0.5183 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.4928, allocations: 5.332 MB / 0.5235 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.4931, allocations: 272.8 kB / 0.5237 GB, free: 6.434 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005308/0.4936, allocations: 233.6 kB / 0.524 GB, free: 6.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.4939, allocations: 199.4 kB / 0.5242 GB, free: 6.012 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4939, allocations: 0 / 0.5242 GB, free: 6.012 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2464/0.7403, allocations: 43.49 MB / 0.5666 GB, free: 142.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.71, allocations: 10.58 kB / 0.5666 GB, free: 142.9 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: 19.36449664295651] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.91660574695561 14.935299903 14.549312212 Calling exit ...