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.001311/0.001311, allocations: 116.9 kB / 17.74 MB, free: 5.336 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.002183/0.002183, allocations: 186.9 kB / 20.68 MB, free: 2.402 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.419/1.419, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 51.92 kB / 357.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 49.43 MB / 406.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2294/0.3344, allocations: 26.58 MB / 433.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0234/0.3579, allocations: 24.87 MB / 458.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.3584, allocations: 5.812 kB / 458.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009585/0.3593, allocations: 289.2 kB / 458.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009059/0.3603, allocations: 369.2 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01416/0.3745, allocations: 4.006 MB / 463 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.376, allocations: 0.946 MB / 464 MB, free: 8.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.3762, allocations: 111.4 kB / 464.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.3769, allocations: 388.7 kB / 464.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.3773, allocations: 301.5 kB / 464.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.3774, allocations: 37.06 kB / 464.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02101/0.3984, allocations: 10.42 MB / 475.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.3988, allocations: 109 kB / 475.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007384/0.3996, allocations: 223.1 kB / 475.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03871/0.4383, allocations: 11.49 MB / 487 MB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4383, allocations: 3.938 kB / 487 MB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4384, allocations: 1.312 kB / 487 MB, free: 9.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.4384, allocations: 0 / 487 MB, free: 9.934 MB / 382.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.006464/0.4449, allocations: 1.188 MB / 488.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4449, allocations: 8.031 kB / 488.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.445, allocations: 71.88 kB / 488.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.4457, allocations: 71.73 kB / 488.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.4464, allocations: 320.3 kB / 488.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.4464, allocations: 28.59 kB / 488.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.935e-05/0.4465, allocations: 33.34 kB / 488.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.4476, allocations: 466.4 kB / 489.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.4476, allocations: 5.297 kB / 489.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.4477, allocations: 12 kB / 489.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.4477, allocations: 8 kB / 489.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.4485, allocations: 391.6 kB / 489.6 MB, free: 7.23 MB / 382.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.003941/0.4525, allocations: 2.953 MB / 492.6 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/0.4532, allocations: 286.5 kB / 492.8 MB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.4535, allocations: 140.8 kB / 493 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002769/0.4563, allocations: 2.473 MB / 495.5 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4563, allocations: 30.56 kB / 495.5 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.156e-06/0.4563, allocations: 4 kB / 495.5 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005461/0.4618, allocations: 1.299 MB / 496.8 MB, free: 15.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4619, allocations: 63.33 kB / 496.9 MB, free: 15.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.4622, allocations: 258.6 kB / 497.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.4623, allocations: 33.7 kB / 497.1 MB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.4624, allocations: 200.5 kB / 497.3 MB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4625, allocations: 126.9 kB / 497.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.4627, allocations: 82.08 kB / 497.5 MB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4629, allocations: 338.8 kB / 497.9 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.4631, allocations: 112.8 kB / 498 MB, free: 14.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.4634, allocations: 230 kB / 498.2 MB, free: 13.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.464, allocations: 374.6 kB / 498.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.464, allocations: 0 / 498.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009058/0.4649, allocations: 466.8 kB / 499 MB, free: 12.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.465, allocations: 8 kB / 499 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.465, allocations: 4.875 kB / 499 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004387/0.4694, allocations: 233.4 kB / 499.3 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.4697, allocations: 92.14 kB / 499.4 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.4715, allocations: 1.947 MB / 0.4896 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.4718, allocations: 12 kB / 0.4896 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.4718, allocations: 16 kB / 0.4896 GB, free: 10.38 MB / 398.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.000233/0.4721, allocations: 167.7 kB / 0.4897 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4722, allocations: 31.75 kB / 0.4898 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4733, allocations: 0.6922 MB / 0.4904 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.4733, allocations: 8 kB / 0.4905 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.4733, allocations: 0 / 0.4905 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009514/0.4743, allocations: 0.864 MB / 0.4913 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.4759, allocations: 1.198 MB / 0.4925 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.476, allocations: 0 / 0.4925 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.4762, allocations: 59.91 kB / 0.4925 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.4777, allocations: 180.5 kB / 0.4927 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.4778, allocations: 11.98 kB / 0.4927 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004374/0.4782, allocations: 0.5797 MB / 0.4933 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4782, allocations: 3.938 kB / 0.4933 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4793, allocations: 0.7236 MB / 0.494 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.4794, allocations: 108.9 kB / 0.4941 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.4795, allocations: 11.94 kB / 0.4941 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4797, allocations: 4 kB / 0.4941 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.4797, allocations: 36.05 kB / 0.4941 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4798, allocations: 12 kB / 0.4941 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.48, allocations: 221.9 kB / 0.4944 GB, free: 5.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.48, allocations: 0 / 0.4944 GB, free: 5.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004735/0.4848, allocations: 0.748 MB / 0.4951 GB, free: 4.492 MB / 398.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.02678/0.5116, allocations: 7.591 MB / 0.5025 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.5127, allocations: 486.7 kB / 0.503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5128, allocations: 0.875 kB / 0.503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.5133, allocations: 216.2 kB / 0.5032 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.5145, allocations: 200.5 kB / 0.5034 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.5233, allocations: 4.052 MB / 0.5073 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.5238, allocations: 0.8051 MB / 0.5081 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.5243, allocations: 207.4 kB / 0.5083 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.5245, allocations: 135.4 kB / 0.5084 GB, free: 6.574 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5245, allocations: 4 kB / 0.5084 GB, free: 6.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.6014, allocations: 33.69 MB / 0.5413 GB, free: 4.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.78, allocations: 27.53 kB / 0.5414 GB, free: 4.938 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: 16.14096911600791] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.900722792837769 13.920979545 13.479078023 Calling exit ...