Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001645/0.001645, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001936/0.001936, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 230.5 MB / 254.7 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 67.89 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09818, allocations: 53.37 MB / 427.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2133/0.3115, allocations: 37.99 MB / 465.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03353/0.345, allocations: 30.75 MB / 495.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.3456, allocations: 10.5 kB / 495.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.3468, allocations: 436.8 kB / 496.2 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.348, allocations: 0.5255 MB / 496.8 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01513/0.3632, allocations: 5.244 MB / 0.4902 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.3651, allocations: 1.357 MB / 0.4916 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3654, allocations: 131.5 kB / 0.4917 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.3664, allocations: 0.5458 MB / 0.4922 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.367, allocations: 462 kB / 0.4927 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.3671, allocations: 53.16 kB / 0.4927 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02328/0.3904, allocations: 12.89 MB / 0.5053 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.3907, allocations: 155.5 kB / 0.5055 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.3913, allocations: 318.8 kB / 0.5058 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03584/0.4272, allocations: 14.93 MB / 0.5203 GB, free: 272 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4272, allocations: 0 / 0.5203 GB, free: 272 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4272, allocations: 0 / 0.5203 GB, free: 272 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.4272, allocations: 0 / 0.5203 GB, free: 272 kB / 414.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.007894/0.4351, allocations: 1.483 MB / 0.5218 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4351, allocations: 12.03 kB / 0.5218 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.4352, allocations: 9 kB / 0.5218 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.996e-05/0.4353, allocations: 82.53 kB / 0.5219 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.436, allocations: 99.56 kB / 0.522 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.4366, allocations: 402 kB / 0.5224 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.4367, allocations: 33 kB / 0.5224 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/0.4368, allocations: 48 kB / 0.5225 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.4379, allocations: 0.6166 MB / 0.5231 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.438, allocations: 3.938 kB / 0.5231 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.438, allocations: 24 kB / 0.5231 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.438, allocations: 12 kB / 0.5231 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.439, allocations: 0.533 MB / 0.5236 GB, free: 12.77 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.004485/0.4435, allocations: 3.799 MB / 0.5273 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009477/0.4445, allocations: 395.7 kB / 0.5277 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.4448, allocations: 197.5 kB / 0.5279 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003686/0.4485, allocations: 3.463 MB / 0.5313 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4485, allocations: 38.94 kB / 0.5313 GB, free: 3.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.4485, allocations: 0 / 0.5313 GB, free: 3.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.01016/0.4587, allocations: 2.036 MB / 0.5333 GB, free: 1.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.4587, allocations: 67.72 kB / 0.5334 GB, free: 1.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.4591, allocations: 300.5 kB / 0.5336 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.4591, allocations: 37.7 kB / 0.5337 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.4593, allocations: 237.2 kB / 0.5339 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.4594, allocations: 198.3 kB / 0.5341 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.4596, allocations: 122.3 kB / 0.5342 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4598, allocations: 350.8 kB / 0.5345 GB, free: 432 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.4601, allocations: 173.2 kB / 0.5347 GB, free: 260 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.4606, allocations: 332.1 kB / 0.535 GB, free: 15.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.4614, allocations: 0.5484 MB / 0.5356 GB, free: 15.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4614, allocations: 4 kB / 0.5356 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001426/0.4628, allocations: 0.6741 MB / 0.5362 GB, free: 14.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4628, allocations: 11.94 kB / 0.5362 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4628, allocations: 4 kB / 0.5362 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01365/0.4765, allocations: 470.5 kB / 0.5367 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.4771, allocations: 147.9 kB / 0.5368 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.4795, allocations: 3.091 MB / 0.5399 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.4798, allocations: 24.08 kB / 0.5399 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.4798, allocations: 28 kB / 0.5399 GB, free: 10.58 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.0002673/0.4801, allocations: 191.5 kB / 0.5401 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.4803, allocations: 39.77 kB / 0.5401 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.4819, allocations: 1.056 MB / 0.5412 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4819, allocations: 8 kB / 0.5412 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4819, allocations: 3.938 kB / 0.5412 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/0.4832, allocations: 1.087 MB / 0.5422 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.4855, allocations: 1.729 MB / 0.5439 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4855, allocations: 3.938 kB / 0.5439 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.4859, allocations: 95.89 kB / 0.544 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/0.4889, allocations: 357.1 kB / 0.5444 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.4889, allocations: 12 kB / 0.5444 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007978/0.4897, allocations: 1.14 MB / 0.5455 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4897, allocations: 4.062 kB / 0.5455 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4913, allocations: 1.136 MB / 0.5466 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.4914, allocations: 128.7 kB / 0.5467 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.4915, allocations: 20.77 kB / 0.5467 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.4918, allocations: 12 kB / 0.5467 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.4918, allocations: 36.52 kB / 0.5468 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.4919, allocations: 19.98 kB / 0.5468 GB, free: 3.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.4921, allocations: 251 kB / 0.547 GB, free: 3.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4921, allocations: 0 / 0.547 GB, free: 3.012 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005163/0.4973, allocations: 0.9818 MB / 0.548 GB, free: 2.027 MB / 446.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.03076/0.5281, allocations: 9.462 MB / 0.5572 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.5297, allocations: 0.6967 MB / 0.5579 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5297, allocations: 0 / 0.5579 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.5303, allocations: 339.5 kB / 0.5582 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5317, allocations: 255.1 kB / 0.5585 GB, free: 7.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5423, allocations: 5.347 MB / 0.5637 GB, free: 1.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.5428, allocations: 0.8687 MB / 0.5646 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005333/0.5433, allocations: 241 kB / 0.5648 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.5436, allocations: 203.4 kB / 0.565 GB, free: 352 kB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5436, allocations: 0 / 0.565 GB, free: 352 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07585/0.6195, allocations: 42.4 MB / 0.6064 GB, free: 6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.19, allocations: 11.67 kB / 0.6064 GB, free: 5.992 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.63692094100406] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.365821079991292 14.379657163 13.949499661 Calling exit ...