Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 63.89 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2369, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02896/0.2658, allocations: 24.7 MB / 456.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02563/0.2915, allocations: 22.08 MB / 478.7 MB, free: 7.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.2918, allocations: 4 kB / 478.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.2927, allocations: 270.4 kB / 479 MB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008092/0.2935, allocations: 385.9 kB / 479.3 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.3063, allocations: 4.109 MB / 483.4 MB, free: 2.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.3082, allocations: 0.9581 MB / 484.4 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.3084, allocations: 81.23 kB / 484.5 MB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.3092, allocations: 398.6 kB / 484.9 MB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.3097, allocations: 318.8 kB / 485.2 MB, free: 1.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.496e-05/0.3097, allocations: 36 kB / 485.2 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/0.3288, allocations: 10.37 MB / 495.6 MB, free: 6.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.329, allocations: 107.7 kB / 495.7 MB, free: 6.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.3293, allocations: 199.2 kB / 495.9 MB, free: 6.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03035/0.3597, allocations: 11.51 MB / 0.4955 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3597, allocations: 3.938 kB / 0.4955 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3597, allocations: 0 / 0.4955 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3597, allocations: 4 kB / 0.4955 GB, free: 10.75 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006108/0.3658, allocations: 1.097 MB / 0.4966 GB, free: 9.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3659, allocations: 8.031 kB / 0.4966 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.551e-05/0.3659, allocations: 16.59 kB / 0.4966 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.302e-05/0.366, allocations: 70.53 kB / 0.4967 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/0.3666, allocations: 71.73 kB / 0.4967 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.3671, allocations: 260.6 kB / 0.497 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3671, allocations: 28.66 kB / 0.497 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.3672, allocations: 35.94 kB / 0.4971 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/0.3682, allocations: 0.6035 MB / 0.4976 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.3682, allocations: 11.88 kB / 0.4977 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.3682, allocations: 16 kB / 0.4977 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3682, allocations: 8 kB / 0.4977 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.369, allocations: 386.3 kB / 0.4981 GB, free: 8.016 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.003182/0.3721, allocations: 2.234 MB / 0.5002 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.3728, allocations: 273.8 kB / 0.5005 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.373, allocations: 128.8 kB / 0.5006 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.3744, allocations: 459.5 kB / 0.5011 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3745, allocations: 38.56 kB / 0.5011 GB, free: 4.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.3745, allocations: 0 / 0.5011 GB, free: 4.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005609/0.3801, allocations: 1.164 MB / 0.5022 GB, free: 3.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3801, allocations: 55.41 kB / 0.5023 GB, free: 3.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.3804, allocations: 261.9 kB / 0.5025 GB, free: 3.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3804, allocations: 33.7 kB / 0.5026 GB, free: 3.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3806, allocations: 184.5 kB / 0.5027 GB, free: 3.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.3807, allocations: 126.9 kB / 0.5029 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3808, allocations: 90.08 kB / 0.5029 GB, free: 2.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.381, allocations: 338.8 kB / 0.5033 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3812, allocations: 112.8 kB / 0.5034 GB, free: 2.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.3815, allocations: 226 kB / 0.5036 GB, free: 2.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.382, allocations: 385.5 kB / 0.504 GB, free: 1.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.382, allocations: 0 / 0.504 GB, free: 1.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009143/0.3829, allocations: 462.8 kB / 0.5044 GB, free: 1.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3829, allocations: 8 kB / 0.5044 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3829, allocations: 4 kB / 0.5044 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006076/0.389, allocations: 241.4 kB / 0.5046 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3894, allocations: 91.83 kB / 0.5047 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.391, allocations: 1.844 MB / 0.5065 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3912, allocations: 12 kB / 0.5065 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.3913, allocations: 20 kB / 0.5066 GB, free: 14.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002283/0.3915, allocations: 166.2 kB / 0.5067 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3917, allocations: 39.69 kB / 0.5068 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.3928, allocations: 0.7053 MB / 0.5074 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.3928, allocations: 7.984 kB / 0.5075 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.3928, allocations: 4 kB / 0.5075 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008865/0.3937, allocations: 0.8788 MB / 0.5083 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.3952, allocations: 1.14 MB / 0.5094 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3952, allocations: 0 / 0.5094 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.3954, allocations: 63.91 kB / 0.5095 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.397, allocations: 180.5 kB / 0.5097 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.397, allocations: 8 kB / 0.5097 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003931/0.3974, allocations: 0.5719 MB / 0.5102 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3974, allocations: 0 / 0.5102 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3985, allocations: 0.7497 MB / 0.511 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.3985, allocations: 35.78 kB / 0.511 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.3986, allocations: 16.09 kB / 0.511 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3988, allocations: 11.94 kB / 0.511 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.3988, allocations: 19.95 kB / 0.511 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.3988, allocations: 16 kB / 0.5111 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3991, allocations: 223.1 kB / 0.5113 GB, free: 9.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3991, allocations: 0 / 0.5113 GB, free: 9.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004045/0.4031, allocations: 0.752 MB / 0.512 GB, free: 9.066 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02476/0.4279, allocations: 7.597 MB / 0.5194 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4289, allocations: 469.6 kB / 0.5199 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4289, allocations: 0 / 0.5199 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.4293, allocations: 216.3 kB / 0.5201 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.4304, allocations: 193.5 kB / 0.5203 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008149/0.4385, allocations: 4.053 MB / 0.5242 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.4387, allocations: 200.9 kB / 0.5244 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004338/0.4392, allocations: 206.7 kB / 0.5246 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.4394, allocations: 131.4 kB / 0.5247 GB, free: 11.77 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4394, allocations: 0 / 0.5247 GB, free: 11.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2568/0.6961, allocations: 34.7 MB / 0.5586 GB, free: 84.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.48, allocations: 4 kB / 0.5586 GB, free: 84.25 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.9459369869437] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.682537831016816 14.698782124 14.335734746 Calling exit ...