Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001282/0.001282, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001359/0.001359, allocations: 214.3 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.351/1.351, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 52.02 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.229, allocations: 53.35 MB / 431.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03687/0.2659, allocations: 34.79 MB / 466.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03153/0.2974, allocations: 27.13 MB / 493.8 MB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.2979, allocations: 11.94 kB / 493.8 MB, free: 8.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.2989, allocations: 373.9 kB / 494.2 MB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.3, allocations: 0.5361 MB / 494.7 MB, free: 7.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.3135, allocations: 5.271 MB / 500 MB, free: 2.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.3154, allocations: 1.379 MB / 0.4896 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.3156, allocations: 123 kB / 0.4897 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008579/0.3165, allocations: 0.5528 MB / 0.4902 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.3171, allocations: 466.2 kB / 0.4907 GB, free: 92 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.3171, allocations: 52 kB / 0.4907 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02361/0.3407, allocations: 12.73 MB / 0.5032 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.3411, allocations: 155.4 kB / 0.5033 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.3415, allocations: 271.1 kB / 0.5036 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04078/0.3823, allocations: 14.95 MB / 0.5182 GB, free: 3.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3823, allocations: 0 / 0.5182 GB, free: 3.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3823, allocations: 0 / 0.5182 GB, free: 3.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3823, allocations: 0 / 0.5182 GB, free: 3.895 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.007978/0.3903, allocations: 1.396 MB / 0.5195 GB, free: 2.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3904, allocations: 12.03 kB / 0.5196 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.234e-05/0.3904, allocations: 13 kB / 0.5196 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.3905, allocations: 90.52 kB / 0.5197 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.3913, allocations: 95.56 kB / 0.5197 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.392, allocations: 332.3 kB / 0.5201 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.3921, allocations: 29 kB / 0.5201 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.3921, allocations: 48 kB / 0.5201 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.3934, allocations: 0.829 MB / 0.5209 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.3935, allocations: 15.92 kB / 0.521 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.3935, allocations: 16 kB / 0.521 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.3935, allocations: 19.88 kB / 0.521 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3946, allocations: 0.5308 MB / 0.5215 GB, free: 320 kB / 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.005546/0.4002, allocations: 2.79 MB / 0.5242 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.4017, allocations: 392.9 kB / 0.5246 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.4022, allocations: 203.2 kB / 0.5248 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002742/0.4049, allocations: 0.6207 MB / 0.5254 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.405, allocations: 42.88 kB / 0.5255 GB, free: 12.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 3.066e-06/0.405, allocations: 0 / 0.5255 GB, free: 12.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01662/0.4216, allocations: 1.894 MB / 0.5273 GB, free: 10.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.4216, allocations: 59.84 kB / 0.5274 GB, free: 10.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.4222, allocations: 316.4 kB / 0.5277 GB, free: 9.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.4222, allocations: 37.7 kB / 0.5277 GB, free: 9.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.4224, allocations: 225.2 kB / 0.5279 GB, free: 9.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.4227, allocations: 198.3 kB / 0.5281 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.4229, allocations: 118.3 kB / 0.5282 GB, free: 9.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.4231, allocations: 346.8 kB / 0.5285 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.4236, allocations: 181.2 kB / 0.5287 GB, free: 8.742 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.4243, allocations: 340 kB / 0.529 GB, free: 8.352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.4255, allocations: 0.5485 MB / 0.5296 GB, free: 7.738 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4255, allocations: 0 / 0.5296 GB, free: 7.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002207/0.4277, allocations: 0.6737 MB / 0.5302 GB, free: 7.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4277, allocations: 8 kB / 0.5302 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4278, allocations: 4 kB / 0.5302 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02033/0.4481, allocations: 478.5 kB / 0.5307 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.449, allocations: 139.8 kB / 0.5308 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.4521, allocations: 2.982 MB / 0.5338 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.4526, allocations: 20.09 kB / 0.5338 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/0.4526, allocations: 28 kB / 0.5338 GB, free: 3.207 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.0003599/0.453, allocations: 192.1 kB / 0.534 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.4534, allocations: 47.7 kB / 0.534 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.4557, allocations: 1.071 MB / 0.5351 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.4557, allocations: 11.98 kB / 0.5351 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4558, allocations: 3.938 kB / 0.5351 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001871/0.4576, allocations: 1.118 MB / 0.5362 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1744/0.632, allocations: 1.655 MB / 0.5378 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.632, allocations: 2.094 kB / 0.5378 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.6324, allocations: 102.6 kB / 0.5379 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/0.6356, allocations: 352.7 kB / 0.5382 GB, free: 98.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.6357, allocations: 19.77 kB / 0.5382 GB, free: 98.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004313/0.6361, allocations: 1.147 MB / 0.5394 GB, free: 96.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6361, allocations: 2.031 kB / 0.5394 GB, free: 96.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.6375, allocations: 1.151 MB / 0.5405 GB, free: 96.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.6376, allocations: 48.06 kB / 0.5405 GB, free: 96.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.6376, allocations: 16.38 kB / 0.5406 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.6379, allocations: 9.891 kB / 0.5406 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.6379, allocations: 40.42 kB / 0.5406 GB, free: 96.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.638, allocations: 21.97 kB / 0.5406 GB, free: 96.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.6382, allocations: 246.1 kB / 0.5409 GB, free: 96.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6382, allocations: 2.156 kB / 0.5409 GB, free: 96.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004861/0.6431, allocations: 0.9837 MB / 0.5418 GB, free: 96.17 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.0272/0.6703, allocations: 9.484 MB / 0.5511 GB, free: 90.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.6717, allocations: 0.693 MB / 0.5518 GB, free: 89.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6717, allocations: 0 / 0.5518 GB, free: 89.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.6722, allocations: 355.8 kB / 0.5521 GB, free: 89.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6736, allocations: 259.6 kB / 0.5523 GB, free: 88.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008699/0.6823, allocations: 5.355 MB / 0.5576 GB, free: 83.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.6824, allocations: 271.1 kB / 0.5578 GB, free: 83.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.6828, allocations: 235.3 kB / 0.5581 GB, free: 83.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.683, allocations: 201.8 kB / 0.5583 GB, free: 83.4 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.683, allocations: 0 / 0.5583 GB, free: 83.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06022/0.7432, allocations: 43.57 MB / 0.6008 GB, free: 40.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.06, allocations: 7.344 kB / 0.6008 GB, free: 40.72 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.730284807970747] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 15.271722729085013 15.286483085 14.901011932 Calling exit ...