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.00181/0.00181, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002204/0.002204, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.431/1.431, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001907/0.001907, allocations: 67.83 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1007, allocations: 53.32 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2204/0.321, allocations: 26.84 MB / 453.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03059/0.3516, allocations: 24.97 MB / 478.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.3521, allocations: 8.625 kB / 478.7 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.3531, allocations: 310.2 kB / 479 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009426/0.354, allocations: 378.3 kB / 479.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.3668, allocations: 4.09 MB / 483.5 MB, free: 5.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.3683, allocations: 0.9474 MB / 484.4 MB, free: 4.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3686, allocations: 87.12 kB / 484.5 MB, free: 4.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.3693, allocations: 391.9 kB / 484.9 MB, free: 4.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.3698, allocations: 314.5 kB / 485.2 MB, free: 4.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.3698, allocations: 37.28 kB / 485.2 MB, free: 4.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02079/0.3906, allocations: 10.5 MB / 495.7 MB, free: 12.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.3909, allocations: 99.67 kB / 495.8 MB, free: 12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.3914, allocations: 235 kB / 496.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02867/0.42, allocations: 11.5 MB / 0.4957 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4201, allocations: 0 / 0.4957 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4201, allocations: 0 / 0.4957 GB, free: 256 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4201, allocations: 4 kB / 0.4957 GB, free: 252 kB / 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.006099/0.4262, allocations: 1.18 MB / 0.4968 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4262, allocations: 8.031 kB / 0.4968 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.4263, allocations: 74.53 kB / 0.4969 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.4269, allocations: 67.73 kB / 0.497 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.4274, allocations: 326.4 kB / 0.4973 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.4274, allocations: 24.66 kB / 0.4973 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.4275, allocations: 32 kB / 0.4973 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.4284, allocations: 467.7 kB / 0.4978 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4284, allocations: 0 / 0.4978 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.4284, allocations: 14.39 kB / 0.4978 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.4285, allocations: 12 kB / 0.4978 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.4292, allocations: 386.3 kB / 0.4982 GB, free: 13.55 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.004065/0.4333, allocations: 2.953 MB / 0.5011 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.4339, allocations: 275.8 kB / 0.5013 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.4341, allocations: 128.8 kB / 0.5014 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002614/0.4367, allocations: 2.466 MB / 0.5038 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4368, allocations: 34.56 kB / 0.5039 GB, free: 6.945 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.4368, allocations: 0 / 0.5039 GB, free: 6.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005152/0.4419, allocations: 1.305 MB / 0.5052 GB, free: 5.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.442, allocations: 59.41 kB / 0.5052 GB, free: 5.496 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.4423, allocations: 262.5 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.4423, allocations: 29.7 kB / 0.5055 GB, free: 5.195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.4424, allocations: 184.5 kB / 0.5057 GB, free: 5.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.4425, allocations: 134.9 kB / 0.5058 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.4427, allocations: 82.08 kB / 0.5059 GB, free: 4.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4428, allocations: 346.7 kB / 0.5062 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.443, allocations: 116.8 kB / 0.5063 GB, free: 4.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.4433, allocations: 218.1 kB / 0.5065 GB, free: 4.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.4439, allocations: 380.7 kB / 0.5069 GB, free: 3.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4439, allocations: 0 / 0.5069 GB, free: 3.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008523/0.4448, allocations: 470.6 kB / 0.5073 GB, free: 3.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4448, allocations: 8 kB / 0.5073 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4448, allocations: 4.438 kB / 0.5073 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.4494, allocations: 241.4 kB / 0.5076 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.4497, allocations: 83.91 kB / 0.5077 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.4514, allocations: 1.941 MB / 0.5096 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.4516, allocations: 8 kB / 0.5096 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.4516, allocations: 24.19 kB / 0.5096 GB, free: 0.707 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.0002063/0.4518, allocations: 161.7 kB / 0.5097 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.4519, allocations: 39.73 kB / 0.5098 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.453, allocations: 0.68 MB / 0.5104 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.453, allocations: 7.984 kB / 0.5104 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.453, allocations: 0.875 kB / 0.5104 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009292/0.4539, allocations: 0.8749 MB / 0.5113 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.4555, allocations: 1.179 MB / 0.5125 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4555, allocations: 2.906 kB / 0.5125 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.4558, allocations: 71.89 kB / 0.5125 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.4573, allocations: 172.6 kB / 0.5127 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.4573, allocations: 8.875 kB / 0.5127 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004005/0.4577, allocations: 0.568 MB / 0.5133 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.4577, allocations: 7.922 kB / 0.5133 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4587, allocations: 0.7345 MB / 0.514 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4588, allocations: 112.8 kB / 0.5141 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.4589, allocations: 12 kB / 0.5141 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.4591, allocations: 12.5 kB / 0.5141 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.4591, allocations: 23.91 kB / 0.5141 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4591, allocations: 15.98 kB / 0.5141 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.4594, allocations: 225.9 kB / 0.5144 GB, free: 11.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4594, allocations: 0 / 0.5144 GB, free: 11.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004247/0.4636, allocations: 0.7559 MB / 0.5151 GB, free: 10.82 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.02568/0.4893, allocations: 7.594 MB / 0.5225 GB, free: 3.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.4904, allocations: 457.8 kB / 0.523 GB, free: 2.734 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.4904, allocations: 4 kB / 0.523 GB, free: 2.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.4908, allocations: 208.2 kB / 0.5232 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4919, allocations: 186.9 kB / 0.5233 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.5003, allocations: 4.052 MB / 0.5273 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.5008, allocations: 0.8012 MB / 0.5281 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004498/0.5012, allocations: 195.5 kB / 0.5283 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.5014, allocations: 139.4 kB / 0.5284 GB, free: 12.96 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5014, allocations: 0 / 0.5284 GB, free: 12.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09802/0.5994, allocations: 33.86 MB / 0.5615 GB, free: 11.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.83, allocations: 7.75 kB / 0.5615 GB, free: 11.2 MB / 478.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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: 16.18815294187516] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.950102992821485 13.96356795 13.540500683 Calling exit ...