Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.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.001266/0.001266, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001379/0.001379, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.436/1.436, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.R134a2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2",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.001903/0.001903, allocations: 75.81 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.31 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2452/0.3504, allocations: 37.99 MB / 464.9 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03699/0.3874, allocations: 30.73 MB / 495.6 MB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.388, allocations: 7.812 kB / 495.6 MB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3892, allocations: 435 kB / 496 MB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.3905, allocations: 0.5298 MB / 496.6 MB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.4066, allocations: 5.235 MB / 0.49 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.4088, allocations: 1.359 MB / 0.4914 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.4091, allocations: 130.6 kB / 0.4915 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.4101, allocations: 0.5333 MB / 0.492 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.4107, allocations: 458.2 kB / 0.4924 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.4108, allocations: 56 kB / 0.4925 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02627/0.4371, allocations: 12.9 MB / 0.5051 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.4374, allocations: 151.5 kB / 0.5052 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005809/0.438, allocations: 326.7 kB / 0.5056 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03942/0.4774, allocations: 14.93 MB / 0.5201 GB, free: 7.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4774, allocations: 0 / 0.5201 GB, free: 7.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4774, allocations: 0 / 0.5201 GB, free: 7.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.4774, allocations: 0 / 0.5201 GB, free: 7.145 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.008733/0.4862, allocations: 1.483 MB / 0.5216 GB, free: 5.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4862, allocations: 12.03 kB / 0.5216 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.4863, allocations: 91.02 kB / 0.5217 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007277/0.487, allocations: 95.56 kB / 0.5218 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.4877, allocations: 390.2 kB / 0.5221 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.4877, allocations: 29.5 kB / 0.5222 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.4878, allocations: 48 kB / 0.5222 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.489, allocations: 0.6244 MB / 0.5228 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.489, allocations: 7.891 kB / 0.5228 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.489, allocations: 20 kB / 0.5229 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.489, allocations: 12 kB / 0.5229 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.4901, allocations: 0.5307 MB / 0.5234 GB, free: 3.66 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.004869/0.4949, allocations: 3.798 MB / 0.5271 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.4959, allocations: 395.7 kB / 0.5275 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.4962, allocations: 192.9 kB / 0.5277 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00339/0.4996, allocations: 3.463 MB / 0.531 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.4996, allocations: 42.94 kB / 0.5311 GB, free: 10.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.444e-06/0.4996, allocations: 0 / 0.5311 GB, free: 10.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009345/0.509, allocations: 2.033 MB / 0.5331 GB, free: 8.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.509, allocations: 63.72 kB / 0.5331 GB, free: 8.574 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.5094, allocations: 308.5 kB / 0.5334 GB, free: 8.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.5094, allocations: 33.7 kB / 0.5335 GB, free: 8.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.5096, allocations: 241.1 kB / 0.5337 GB, free: 7.992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.5098, allocations: 198.3 kB / 0.5339 GB, free: 7.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.5099, allocations: 118.3 kB / 0.534 GB, free: 7.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5101, allocations: 350.8 kB / 0.5343 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.5104, allocations: 181.2 kB / 0.5345 GB, free: 7.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.5109, allocations: 329.2 kB / 0.5348 GB, free: 6.762 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.5117, allocations: 0.5523 MB / 0.5353 GB, free: 6.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5117, allocations: 4 kB / 0.5353 GB, free: 6.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001288/0.513, allocations: 0.6672 MB / 0.536 GB, free: 5.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.513, allocations: 12.5 kB / 0.536 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.513, allocations: 4 kB / 0.536 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009204/0.5222, allocations: 450 kB / 0.5364 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.5228, allocations: 139.8 kB / 0.5366 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.5252, allocations: 3.094 MB / 0.5396 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.5256, allocations: 19.94 kB / 0.5396 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.5256, allocations: 28 kB / 0.5396 GB, free: 1.512 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.0002988/0.5259, allocations: 196.3 kB / 0.5398 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.526, allocations: 43.72 kB / 0.5399 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.5276, allocations: 1.052 MB / 0.5409 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5276, allocations: 11.98 kB / 0.5409 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.5276, allocations: 0 / 0.5409 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/0.5289, allocations: 1.091 MB / 0.542 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.5312, allocations: 1.729 MB / 0.5437 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5312, allocations: 3.938 kB / 0.5437 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.5316, allocations: 103.8 kB / 0.5438 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003032/0.5346, allocations: 349.1 kB / 0.5441 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.5347, allocations: 19.98 kB / 0.5441 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007881/0.5355, allocations: 1.144 MB / 0.5452 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5355, allocations: 0 / 0.5452 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.5371, allocations: 1.137 MB / 0.5463 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.5372, allocations: 127.3 kB / 0.5465 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.5373, allocations: 12 kB / 0.5465 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.5375, allocations: 15.94 kB / 0.5465 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.5376, allocations: 32.52 kB / 0.5465 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.5376, allocations: 23.98 kB / 0.5466 GB, free: 10.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.5379, allocations: 247 kB / 0.5468 GB, free: 9.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5379, allocations: 4 kB / 0.5468 GB, free: 9.941 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005073/0.543, allocations: 0.9857 MB / 0.5478 GB, free: 8.953 MB / 462.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.03237/0.5753, allocations: 9.454 MB / 0.557 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.5771, allocations: 0.6888 MB / 0.5577 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5771, allocations: 0 / 0.5577 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.5778, allocations: 351.5 kB / 0.558 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5792, allocations: 259 kB / 0.5582 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.5908, allocations: 5.356 MB / 0.5635 GB, free: 8.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.5914, allocations: 0.8648 MB / 0.5643 GB, free: 7.699 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006044/0.592, allocations: 236.8 kB / 0.5645 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.5922, allocations: 203.4 kB / 0.5647 GB, free: 7.266 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5922, allocations: 0 / 0.5647 GB, free: 7.266 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/0.6964, allocations: 42.38 MB / 0.6061 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.5, allocations: 15.98 kB / 0.6061 GB, free: 12.98 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.89601762406528] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.628297187853605 14.651946745 14.169859023 Calling exit ...