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.001297/0.001297, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001341/0.001341, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.361/1.361, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001469/0.001469, allocations: 43.94 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2239, allocations: 53.36 MB / 431.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03957/0.2634, allocations: 38.33 MB / 470.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03505/0.2985, allocations: 30.85 MB / 0.4894 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005022/0.299, allocations: 15.88 kB / 0.4894 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.3001, allocations: 425.6 kB / 0.4898 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.3012, allocations: 0.5322 MB / 0.4903 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01375/0.315, allocations: 5.284 MB / 0.4955 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.317, allocations: 1.375 MB / 0.4968 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.3173, allocations: 130.9 kB / 0.4969 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.3181, allocations: 0.545 MB / 0.4975 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.3187, allocations: 462.2 kB / 0.4979 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/0.3188, allocations: 52 kB / 0.4979 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02227/0.3411, allocations: 12.95 MB / 0.5106 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.3414, allocations: 167.4 kB / 0.5108 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006909/0.3421, allocations: 318.8 kB / 0.5111 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03572/0.3778, allocations: 14.94 MB / 0.5257 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3778, allocations: 0 / 0.5257 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3778, allocations: 4 kB / 0.5257 GB, free: 12.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3779, allocations: 0 / 0.5257 GB, free: 12.34 MB / 446.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.007844/0.3857, allocations: 1.404 MB / 0.527 GB, free: 10.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3857, allocations: 8.031 kB / 0.527 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.005e-05/0.3858, allocations: 13 kB / 0.5271 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.951e-05/0.3859, allocations: 90.52 kB / 0.5271 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.3866, allocations: 103.6 kB / 0.5272 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.3872, allocations: 328.2 kB / 0.5275 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.3872, allocations: 33 kB / 0.5276 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.3873, allocations: 48 kB / 0.5276 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.3885, allocations: 0.6205 MB / 0.5282 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.3885, allocations: 11.88 kB / 0.5282 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.3886, allocations: 24 kB / 0.5283 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3886, allocations: 19.94 kB / 0.5283 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3896, allocations: 0.5269 MB / 0.5288 GB, free: 9 MB / 446.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.004223/0.3938, allocations: 3.663 MB / 0.5324 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009284/0.3948, allocations: 384.6 kB / 0.5327 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.3951, allocations: 206.8 kB / 0.5329 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001951/0.397, allocations: 0.6207 MB / 0.5335 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3971, allocations: 46.86 kB / 0.5336 GB, free: 3.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.924e-06/0.3971, allocations: 0 / 0.5336 GB, free: 3.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009817/0.4069, allocations: 1.89 MB / 0.5354 GB, free: 1.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4069, allocations: 55.84 kB / 0.5355 GB, free: 1.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.4073, allocations: 316.4 kB / 0.5358 GB, free: 1.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.4073, allocations: 37.7 kB / 0.5358 GB, free: 1.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.4075, allocations: 229.2 kB / 0.536 GB, free: 1.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.4076, allocations: 202.3 kB / 0.5362 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.4078, allocations: 118.3 kB / 0.5364 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.408, allocations: 350.8 kB / 0.5367 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.4083, allocations: 177.2 kB / 0.5369 GB, free: 384 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1924/0.6006, allocations: 329.6 kB / 0.5372 GB, free: 96.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.6016, allocations: 0.544 MB / 0.5377 GB, free: 96.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6016, allocations: 1.688 kB / 0.5377 GB, free: 96.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00161/0.6032, allocations: 0.6815 MB / 0.5384 GB, free: 96.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.6033, allocations: 10.39 kB / 0.5384 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6033, allocations: 4.375 kB / 0.5384 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.6145, allocations: 470.4 kB / 0.5388 GB, free: 96.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.6151, allocations: 142.4 kB / 0.539 GB, free: 96.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.6166, allocations: 2.994 MB / 0.5419 GB, free: 93.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.6169, allocations: 14.44 kB / 0.5419 GB, free: 93.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.6169, allocations: 27.73 kB / 0.5419 GB, free: 93.27 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.0002465/0.6172, allocations: 187.5 kB / 0.5421 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.6174, allocations: 43.06 kB / 0.5422 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.6188, allocations: 1.075 MB / 0.5432 GB, free: 92.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.6188, allocations: 14.69 kB / 0.5432 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.6188, allocations: 0 / 0.5432 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.6199, allocations: 1.11 MB / 0.5443 GB, free: 91.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.6223, allocations: 1.735 MB / 0.546 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6223, allocations: 4.75 kB / 0.546 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.6226, allocations: 105.4 kB / 0.5461 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/0.6254, allocations: 353.4 kB / 0.5464 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.6254, allocations: 13.09 kB / 0.5464 GB, free: 90.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004223/0.6259, allocations: 1.156 MB / 0.5476 GB, free: 89.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6259, allocations: 0.75 kB / 0.5476 GB, free: 89.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6271, allocations: 1.147 MB / 0.5487 GB, free: 89.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.6272, allocations: 52.41 kB / 0.5487 GB, free: 89.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.6273, allocations: 21.66 kB / 0.5488 GB, free: 89.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.6275, allocations: 13.83 kB / 0.5488 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.6276, allocations: 38.12 kB / 0.5488 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.6276, allocations: 27.34 kB / 0.5488 GB, free: 89.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.6278, allocations: 250.7 kB / 0.5491 GB, free: 89.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6278, allocations: 2.344 kB / 0.5491 GB, free: 89.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004729/0.6325, allocations: 0.9785 MB / 0.55 GB, free: 89.01 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.02735/0.6599, allocations: 9.47 MB / 0.5593 GB, free: 82.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.6612, allocations: 0.6849 MB / 0.56 GB, free: 82.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6612, allocations: 0 / 0.56 GB, free: 82.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.6617, allocations: 359 kB / 0.5603 GB, free: 81.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.663, allocations: 267.2 kB / 0.5606 GB, free: 81.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/0.6717, allocations: 5.355 MB / 0.5658 GB, free: 76.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.6719, allocations: 0.8651 MB / 0.5666 GB, free: 75.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.6723, allocations: 234 kB / 0.5669 GB, free: 75.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.6725, allocations: 199.4 kB / 0.567 GB, free: 75.26 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6725, allocations: 4 kB / 0.567 GB, free: 75.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06153/0.7341, allocations: 43.08 MB / 0.6091 GB, free: 32.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.03, allocations: 6.406 kB / 0.6091 GB, free: 32.34 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: 67.45570478396257] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 15.237484476994723 15.256677338 14.875116417 Calling exit ...