Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.001212/0.001212, 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.001267/0.001267, 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.334/1.334, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 47.92 kB / 371.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2255, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02921/0.2547, allocations: 26.98 MB / 450.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02705/0.2817, allocations: 25.04 MB / 475.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.2821, allocations: 11.94 kB / 475.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007888/0.2829, allocations: 310.3 kB / 475.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007366/0.2836, allocations: 377.9 kB / 476.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.2941, allocations: 4.129 MB / 480.3 MB, free: 5.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2953, allocations: 0.962 MB / 481.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.2955, allocations: 79.11 kB / 481.3 MB, free: 4.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005965/0.2961, allocations: 402.6 kB / 481.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.2965, allocations: 318.7 kB / 482 MB, free: 3.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.2966, allocations: 43.94 kB / 482 MB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.3139, allocations: 10.53 MB / 492.6 MB, free: 9.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.3141, allocations: 111.6 kB / 492.7 MB, free: 9.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.3145, allocations: 227.2 kB / 492.9 MB, free: 8.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02496/0.3394, allocations: 11.5 MB / 0.4926 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3394, allocations: 0 / 0.4926 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3394, allocations: 0 / 0.4926 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3394, allocations: 0 / 0.4926 GB, free: 13.38 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.006091/0.3455, allocations: 1.113 MB / 0.4937 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3456, allocations: 8.031 kB / 0.4937 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.156e-05/0.3456, allocations: 8.656 kB / 0.4937 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/0.3457, allocations: 70.53 kB / 0.4937 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/0.3462, allocations: 67.73 kB / 0.4938 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.3466, allocations: 264.6 kB / 0.4941 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3467, allocations: 20.66 kB / 0.4941 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.3467, allocations: 39.94 kB / 0.4941 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000886/0.3476, allocations: 459.8 kB / 0.4946 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3476, allocations: 7.984 kB / 0.4946 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3477, allocations: 19.94 kB / 0.4946 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3477, allocations: 8 kB / 0.4946 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.3484, allocations: 390.3 kB / 0.495 GB, free: 10.82 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.003369/0.3518, allocations: 2.818 MB / 0.4977 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.3524, allocations: 270.8 kB / 0.498 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3526, allocations: 136 kB / 0.4981 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.354, allocations: 467.3 kB / 0.4985 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.354, allocations: 38.5 kB / 0.4986 GB, free: 6.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.354, allocations: 0 / 0.4986 GB, free: 6.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.004759/0.3588, allocations: 1.152 MB / 0.4997 GB, free: 5.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3588, allocations: 59.39 kB / 0.4998 GB, free: 5.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.3591, allocations: 261.8 kB / 0.5 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.3591, allocations: 29.7 kB / 0.5 GB, free: 5.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3593, allocations: 196.4 kB / 0.5002 GB, free: 5.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3594, allocations: 126.9 kB / 0.5004 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3595, allocations: 78.12 kB / 0.5004 GB, free: 4.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3596, allocations: 338.8 kB / 0.5008 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.3598, allocations: 116.8 kB / 0.5009 GB, free: 4.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.3601, allocations: 226 kB / 0.5011 GB, free: 4.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.3606, allocations: 370 kB / 0.5014 GB, free: 3.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3606, allocations: 0 / 0.5014 GB, free: 3.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008069/0.3615, allocations: 470.6 kB / 0.5019 GB, free: 3.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3615, allocations: 7.281 kB / 0.5019 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3615, allocations: 4.438 kB / 0.5019 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/0.3658, allocations: 237.4 kB / 0.5021 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.3661, allocations: 91.83 kB / 0.5022 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.3676, allocations: 1.832 MB / 0.504 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.3678, allocations: 12 kB / 0.504 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.3679, allocations: 20.19 kB / 0.504 GB, free: 0.9805 MB / 414.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.0001978/0.3681, allocations: 169.7 kB / 0.5042 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.3682, allocations: 35.75 kB / 0.5042 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.3692, allocations: 0.7163 MB / 0.5049 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3692, allocations: 4 kB / 0.5049 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3692, allocations: 64 / 0.5049 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009179/0.3701, allocations: 0.8831 MB / 0.5058 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.3716, allocations: 1.19 MB / 0.5069 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3716, allocations: 0 / 0.5069 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.3719, allocations: 63.91 kB / 0.507 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.3733, allocations: 180.5 kB / 0.5072 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3733, allocations: 12 kB / 0.5072 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003981/0.3737, allocations: 0.5758 MB / 0.5078 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3737, allocations: 0 / 0.5078 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.3747, allocations: 0.7462 MB / 0.5085 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.3748, allocations: 27.78 kB / 0.5085 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.3748, allocations: 15.95 kB / 0.5085 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.375, allocations: 11.94 kB / 0.5085 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.375, allocations: 23.95 kB / 0.5086 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.3751, allocations: 11.98 kB / 0.5086 GB, free: 12.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3753, allocations: 223.1 kB / 0.5088 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3753, allocations: 0 / 0.5088 GB, free: 11.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003936/0.3792, allocations: 0.7481 MB / 0.5095 GB, free: 11.14 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.02397/0.4032, allocations: 7.596 MB / 0.5169 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.4043, allocations: 474.2 kB / 0.5174 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.4043, allocations: 0 / 0.5174 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.4047, allocations: 214.4 kB / 0.5176 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4058, allocations: 196.9 kB / 0.5178 GB, free: 2.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.414, allocations: 4.058 MB / 0.5217 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.4145, allocations: 0.8091 MB / 0.5225 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004372/0.4149, allocations: 183.7 kB / 0.5227 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.4151, allocations: 139.4 kB / 0.5228 GB, free: 13.24 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4151, allocations: 0 / 0.5228 GB, free: 13.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2328/0.6479, allocations: 34.24 MB / 0.5563 GB, free: 92.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.07, allocations: 9.281 kB / 0.5563 GB, free: 92.26 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.45430492499145] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.264294682012405 14.273055611 13.931428617 Calling exit ...