Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 254.8 MB, free: 15.24 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09434, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2077/0.302, allocations: 26.83 MB / 453.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.3247, allocations: 24.98 MB / 478.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006217/0.3253, allocations: 9.781 kB / 478.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.3265, allocations: 309.1 kB / 479.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3275, allocations: 377.7 kB / 479.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.3415, allocations: 4.093 MB / 483.6 MB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.3429, allocations: 0.9472 MB / 484.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3431, allocations: 82.36 kB / 484.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.3437, allocations: 396.5 kB / 485 MB, free: 7.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.3441, allocations: 319.4 kB / 485.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.3442, allocations: 37.44 kB / 485.4 MB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01847/0.3626, allocations: 10.5 MB / 495.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.3629, allocations: 103.6 kB / 496 MB, free: 4.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.3634, allocations: 229.1 kB / 496.2 MB, free: 3.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02733/0.3908, allocations: 11.51 MB / 0.4958 GB, free: 9.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.3908, allocations: 0 / 0.4958 GB, free: 9.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3908, allocations: 0 / 0.4958 GB, free: 9.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3908, allocations: 0 / 0.4958 GB, free: 9.609 MB / 398.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.007278/0.3981, allocations: 1.182 MB / 0.497 GB, free: 8.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3981, allocations: 8.031 kB / 0.497 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.443e-05/0.3981, allocations: 10.34 kB / 0.497 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.321e-05/0.3982, allocations: 70.53 kB / 0.497 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000673/0.3989, allocations: 71.72 kB / 0.4971 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.3994, allocations: 328.7 kB / 0.4974 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.3995, allocations: 22.38 kB / 0.4975 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.3995, allocations: 35.94 kB / 0.4975 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.4004, allocations: 463.2 kB / 0.4979 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4004, allocations: 4 kB / 0.4979 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.4005, allocations: 19.94 kB / 0.4979 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.4005, allocations: 8.625 kB / 0.498 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.4012, allocations: 388 kB / 0.4983 GB, free: 6.902 MB / 398.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.003615/0.4048, allocations: 2.943 MB / 0.5012 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.4055, allocations: 282 kB / 0.5015 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.4057, allocations: 131.6 kB / 0.5016 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002707/0.4084, allocations: 2.464 MB / 0.504 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.4085, allocations: 42.55 kB / 0.504 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.235e-06/0.4085, allocations: 4 kB / 0.504 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005657/0.4141, allocations: 1.292 MB / 0.5053 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4142, allocations: 55.41 kB / 0.5054 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.4144, allocations: 262.5 kB / 0.5056 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.4145, allocations: 33.7 kB / 0.5056 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4146, allocations: 196.4 kB / 0.5058 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.417e-05/0.4147, allocations: 122.9 kB / 0.5059 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.4148, allocations: 86.08 kB / 0.506 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.415, allocations: 338.8 kB / 0.5064 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.4152, allocations: 116.8 kB / 0.5065 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.4155, allocations: 230 kB / 0.5067 GB, free: 13.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.416, allocations: 380.1 kB / 0.507 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.416, allocations: 0 / 0.507 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009057/0.4169, allocations: 463 kB / 0.5075 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4169, allocations: 12.66 kB / 0.5075 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4169, allocations: 4 kB / 0.5075 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00592/0.4229, allocations: 245.4 kB / 0.5077 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.4232, allocations: 87.84 kB / 0.5078 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.4248, allocations: 1.941 MB / 0.5097 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4249, allocations: 24.02 kB / 0.5097 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.425, allocations: 20 kB / 0.5098 GB, free: 10.06 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.0001961/0.4252, allocations: 161.7 kB / 0.5099 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.4253, allocations: 37.44 kB / 0.51 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.4264, allocations: 0.6792 MB / 0.5106 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4264, allocations: 7.984 kB / 0.5106 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4264, allocations: 8 kB / 0.5106 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008688/0.4273, allocations: 0.8593 MB / 0.5115 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4288, allocations: 1.196 MB / 0.5126 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4288, allocations: 0 / 0.5126 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.4291, allocations: 63.84 kB / 0.5127 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.4306, allocations: 180.6 kB / 0.5129 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.4306, allocations: 8 kB / 0.5129 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003838/0.431, allocations: 0.5701 MB / 0.5134 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.431, allocations: 7.938 kB / 0.5134 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.432, allocations: 0.7383 MB / 0.5142 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.4321, allocations: 112.9 kB / 0.5143 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.4321, allocations: 11.95 kB / 0.5143 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.4323, allocations: 4 kB / 0.5143 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4324, allocations: 27.91 kB / 0.5143 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.4324, allocations: 15.98 kB / 0.5143 GB, free: 5.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.4326, allocations: 218 kB / 0.5145 GB, free: 4.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4326, allocations: 4 kB / 0.5145 GB, free: 4.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004786/0.4374, allocations: 0.7558 MB / 0.5153 GB, free: 4.172 MB / 414.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.02602/0.4634, allocations: 7.593 MB / 0.5227 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.4646, allocations: 469.3 kB / 0.5231 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4646, allocations: 0 / 0.5231 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.4649, allocations: 200.9 kB / 0.5233 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.466, allocations: 205.3 kB / 0.5235 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008263/0.4743, allocations: 4.034 MB / 0.5275 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.4747, allocations: 0.809 MB / 0.5283 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.4751, allocations: 190.9 kB / 0.5284 GB, free: 6.449 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.4753, allocations: 135.4 kB / 0.5286 GB, free: 6.316 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4753, allocations: 0 / 0.5286 GB, free: 6.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.5421, allocations: 33.9 MB / 0.5617 GB, free: 4.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.35, allocations: 10.44 kB / 0.5617 GB, free: 4.516 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.444172036019154] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.528348528954666 13.54833407 13.153604258 Calling exit ...