Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 43.94 kB / 371.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2319, allocations: 52.19 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04196/0.2739, allocations: 38.22 MB / 461.6 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03585/0.3098, allocations: 30.82 MB / 492.5 MB, free: 9.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005656/0.3103, allocations: 11.94 kB / 492.5 MB, free: 9.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.3115, allocations: 421.7 kB / 492.9 MB, free: 8.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.3127, allocations: 0.5361 MB / 493.4 MB, free: 8.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.3268, allocations: 5.272 MB / 498.7 MB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.3287, allocations: 1.383 MB / 0.4884 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.329, allocations: 122.8 kB / 0.4885 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009551/0.3299, allocations: 0.5528 MB / 0.489 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.3306, allocations: 462.2 kB / 0.4895 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3307, allocations: 52 kB / 0.4895 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/0.3536, allocations: 12.95 MB / 0.5021 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.3539, allocations: 147.5 kB / 0.5023 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.3545, allocations: 326.8 kB / 0.5026 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03425/0.3888, allocations: 14.94 MB / 0.5172 GB, free: 4.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3888, allocations: 0 / 0.5172 GB, free: 4.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3888, allocations: 4 kB / 0.5172 GB, free: 4.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.3888, allocations: 0 / 0.5172 GB, free: 4.102 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.008324/0.3971, allocations: 1.396 MB / 0.5185 GB, free: 2.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3972, allocations: 11.97 kB / 0.5186 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.666e-05/0.3972, allocations: 13 kB / 0.5186 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.3973, allocations: 90.52 kB / 0.5187 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007595/0.3981, allocations: 99.61 kB / 0.5188 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/0.3987, allocations: 324.3 kB / 0.5191 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.3987, allocations: 37 kB / 0.5191 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.3988, allocations: 40 kB / 0.5191 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.4, allocations: 0.6283 MB / 0.5197 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4, allocations: 3.984 kB / 0.5198 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.4001, allocations: 24 kB / 0.5198 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.4001, allocations: 19.94 kB / 0.5198 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.4012, allocations: 0.5269 MB / 0.5203 GB, free: 0.7773 MB / 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.0045/0.4057, allocations: 3.676 MB / 0.5239 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009118/0.4066, allocations: 387.8 kB / 0.5243 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.4069, allocations: 204.7 kB / 0.5245 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.4089, allocations: 0.6245 MB / 0.5251 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4089, allocations: 42.92 kB / 0.5251 GB, free: 11.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.713e-06/0.4089, allocations: 0 / 0.5251 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009057/0.418, allocations: 1.884 MB / 0.527 GB, free: 9.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.418, allocations: 55.84 kB / 0.527 GB, free: 9.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.4184, allocations: 312.4 kB / 0.5273 GB, free: 9.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.4184, allocations: 37.7 kB / 0.5273 GB, free: 9.223 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.4186, allocations: 237.1 kB / 0.5276 GB, free: 8.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.4188, allocations: 202.3 kB / 0.5278 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.4189, allocations: 118.3 kB / 0.5279 GB, free: 8.668 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4191, allocations: 350.8 kB / 0.5282 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.4194, allocations: 177.2 kB / 0.5284 GB, free: 8.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.4199, allocations: 336 kB / 0.5287 GB, free: 7.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.4208, allocations: 0.5524 MB / 0.5292 GB, free: 7.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4208, allocations: 0 / 0.5292 GB, free: 7.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00139/0.4222, allocations: 0.6777 MB / 0.5299 GB, free: 6.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4222, allocations: 11.28 kB / 0.5299 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4222, allocations: 4 kB / 0.5299 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009026/0.4313, allocations: 446.4 kB / 0.5303 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.4319, allocations: 151.7 kB / 0.5305 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.4344, allocations: 2.982 MB / 0.5334 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.4348, allocations: 20 kB / 0.5334 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.4349, allocations: 27.98 kB / 0.5334 GB, free: 2.629 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.0003226/0.4352, allocations: 185.7 kB / 0.5336 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4354, allocations: 43.77 kB / 0.5337 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.4371, allocations: 1.083 MB / 0.5347 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.4371, allocations: 7.984 kB / 0.5347 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4371, allocations: 11.88 kB / 0.5347 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00131/0.4384, allocations: 1.11 MB / 0.5358 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1824/0.6208, allocations: 1.725 MB / 0.5375 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6208, allocations: 0 / 0.5375 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.6212, allocations: 106 kB / 0.5376 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002835/0.6241, allocations: 355.3 kB / 0.5379 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.6241, allocations: 15.12 kB / 0.538 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000547/0.6247, allocations: 1.152 MB / 0.5391 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6247, allocations: 1.422 kB / 0.5391 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.6261, allocations: 1.149 MB / 0.5402 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6262, allocations: 45.17 kB / 0.5403 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.6263, allocations: 23.33 kB / 0.5403 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.6265, allocations: 12.28 kB / 0.5403 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.6266, allocations: 37.47 kB / 0.5403 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.6267, allocations: 21.8 kB / 0.5403 GB, free: 101.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.6269, allocations: 249.4 kB / 0.5406 GB, free: 101.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6269, allocations: 2.219 kB / 0.5406 GB, free: 101.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00522/0.6321, allocations: 0.9736 MB / 0.5415 GB, free: 101.7 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.02888/0.661, allocations: 9.474 MB / 0.5508 GB, free: 96.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.6624, allocations: 0.701 MB / 0.5515 GB, free: 96.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6624, allocations: 0 / 0.5515 GB, free: 96.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.6629, allocations: 351.8 kB / 0.5518 GB, free: 95.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.6642, allocations: 260.5 kB / 0.5521 GB, free: 95.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.6721, allocations: 5.352 MB / 0.5573 GB, free: 90.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.6723, allocations: 0.8726 MB / 0.5581 GB, free: 89.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004054/0.6728, allocations: 238.4 kB / 0.5584 GB, free: 89.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.6729, allocations: 200.8 kB / 0.5585 GB, free: 89.53 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6729, allocations: 0 / 0.5585 GB, free: 89.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06517/0.7381, allocations: 43 MB / 0.6005 GB, free: 46.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.69, allocations: 4.062 kB / 0.6005 GB, free: 46.89 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.09615462803049] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.893516270036343 14.902080686 14.511091597 Calling exit ...