Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001402/0.001402, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001542/0.001542, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.031 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-beta.om/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_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 64.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2481, allocations: 53.38 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03155/0.2796, allocations: 27.07 MB / 459 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02936/0.309, allocations: 25.06 MB / 484.1 MB, free: 2.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.3094, allocations: 7.938 kB / 484.1 MB, free: 2.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008946/0.3103, allocations: 318.3 kB / 484.4 MB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.3111, allocations: 381.9 kB / 484.8 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.3231, allocations: 4.118 MB / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.3245, allocations: 0.962 MB / 489.8 MB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3248, allocations: 77.23 kB / 489.9 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007284/0.3255, allocations: 402.6 kB / 490.3 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.3259, allocations: 314.8 kB / 490.6 MB, free: 12.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.326, allocations: 36 kB / 490.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.019/0.345, allocations: 10.55 MB / 0.4894 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.3452, allocations: 107.6 kB / 0.4896 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.3456, allocations: 227.1 kB / 0.4898 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02686/0.3724, allocations: 11.51 MB / 0.501 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.3725, allocations: 8 kB / 0.501 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3725, allocations: 0 / 0.501 GB, free: 5.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3725, allocations: 0 / 0.501 GB, free: 5.543 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.006425/0.3789, allocations: 1.101 MB / 0.5021 GB, free: 4.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3789, allocations: 12.03 kB / 0.5021 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.787e-05/0.379, allocations: 66.53 kB / 0.5022 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000675/0.3797, allocations: 67.73 kB / 0.5022 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.3802, allocations: 268.6 kB / 0.5025 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.3803, allocations: 24.66 kB / 0.5025 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.3803, allocations: 35.94 kB / 0.5025 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.3812, allocations: 467.7 kB / 0.503 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3813, allocations: 0 / 0.503 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.3813, allocations: 20 kB / 0.503 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3813, allocations: 8 kB / 0.503 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.3821, allocations: 390.2 kB / 0.5034 GB, free: 3.004 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.003728/0.3858, allocations: 2.814 MB / 0.5061 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.3865, allocations: 279.6 kB / 0.5064 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.3867, allocations: 136.7 kB / 0.5065 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.3883, allocations: 459.5 kB / 0.507 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.3883, allocations: 42.55 kB / 0.507 GB, free: 15.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.3883, allocations: 4 kB / 0.507 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005851/0.3942, allocations: 1.151 MB / 0.5081 GB, free: 13.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3942, allocations: 55.41 kB / 0.5082 GB, free: 13.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3945, allocations: 257.9 kB / 0.5084 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.3946, allocations: 37.64 kB / 0.5085 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.3947, allocations: 184.5 kB / 0.5087 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3948, allocations: 130.9 kB / 0.5088 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.3949, allocations: 86.02 kB / 0.5089 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3951, allocations: 346.8 kB / 0.5092 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3953, allocations: 108.8 kB / 0.5093 GB, free: 12.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.3956, allocations: 230 kB / 0.5095 GB, free: 12.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.3962, allocations: 382 kB / 0.5099 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3962, allocations: 4 kB / 0.5099 GB, free: 11.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009628/0.3971, allocations: 455.1 kB / 0.5103 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3972, allocations: 8.094 kB / 0.5103 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3972, allocations: 4 kB / 0.5103 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006053/0.4032, allocations: 241.4 kB / 0.5106 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.4036, allocations: 91.83 kB / 0.5106 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.4053, allocations: 1.843 MB / 0.5124 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.4056, allocations: 12 kB / 0.5125 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.4056, allocations: 23.98 kB / 0.5125 GB, free: 9.125 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.0002286/0.4058, allocations: 161.7 kB / 0.5126 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.406, allocations: 35.75 kB / 0.5127 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.4071, allocations: 0.705 MB / 0.5134 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.4072, allocations: 8.094 kB / 0.5134 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.4072, allocations: 3.984 kB / 0.5134 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009397/0.4081, allocations: 0.8789 MB / 0.5142 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.4098, allocations: 1.194 MB / 0.5154 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4098, allocations: 0 / 0.5154 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.41, allocations: 63.91 kB / 0.5155 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.4117, allocations: 184.4 kB / 0.5156 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.4117, allocations: 11.98 kB / 0.5156 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000497/0.4122, allocations: 0.5758 MB / 0.5162 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4122, allocations: 8.031 kB / 0.5162 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4134, allocations: 0.7459 MB / 0.5169 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.4135, allocations: 27.8 kB / 0.517 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.4135, allocations: 11.94 kB / 0.517 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.4137, allocations: 12 kB / 0.517 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.4138, allocations: 23.89 kB / 0.517 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.4138, allocations: 15.98 kB / 0.517 GB, free: 4.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002563/0.4141, allocations: 227.1 kB / 0.5172 GB, free: 4.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4141, allocations: 0 / 0.5172 GB, free: 4.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004118/0.4182, allocations: 0.752 MB / 0.518 GB, free: 3.273 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.02648/0.4447, allocations: 7.597 MB / 0.5254 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4458, allocations: 461.7 kB / 0.5258 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4458, allocations: 4 kB / 0.5258 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.4462, allocations: 212.3 kB / 0.526 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4473, allocations: 207 kB / 0.5262 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/0.4564, allocations: 4.055 MB / 0.5302 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.457, allocations: 0.8091 MB / 0.531 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004817/0.4574, allocations: 183 kB / 0.5312 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.4576, allocations: 135.4 kB / 0.5313 GB, free: 5.387 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4576, allocations: 0 / 0.5313 GB, free: 5.387 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2606/0.7182, allocations: 34.26 MB / 0.5647 GB, free: 78.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.65, allocations: 12.56 kB / 0.5648 GB, free: 78.39 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.156665093731135] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.775880072265863 14.794872163 14.418497431 Calling exit ...