Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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.001566/0.001566, allocations: 115.7 kB / 18.49 MB, free: 4.566 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.001609/0.001609, allocations: 190.6 kB / 21.43 MB, free: 1.641 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.355/1.355, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.92 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09154, allocations: 52.13 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2074/0.2989, allocations: 37.88 MB / 456.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02739/0.3263, allocations: 30.71 MB / 487.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005111/0.3268, allocations: 11.56 kB / 487.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.3279, allocations: 423.1 kB / 487.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3289, allocations: 0.533 MB / 488 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01418/0.3431, allocations: 5.232 MB / 493.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.3449, allocations: 1.356 MB / 494.6 MB, free: 4.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.3452, allocations: 121.3 kB / 494.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007704/0.3459, allocations: 0.538 MB / 495.3 MB, free: 3.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.3465, allocations: 464.3 kB / 495.7 MB, free: 3.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.3466, allocations: 53.19 kB / 495.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02269/0.3692, allocations: 12.9 MB / 0.4968 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.3695, allocations: 155.4 kB / 0.4969 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.3701, allocations: 314.8 kB / 0.4972 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03299/0.4031, allocations: 14.93 MB / 0.5118 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.4031, allocations: 4 kB / 0.5118 GB, free: 11.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4031, allocations: 0 / 0.5118 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.4031, allocations: 0 / 0.5118 GB, free: 11.98 MB / 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.007562/0.4107, allocations: 1.479 MB / 0.5132 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4107, allocations: 15.89 kB / 0.5133 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.306e-05/0.4108, allocations: 13 kB / 0.5133 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.4109, allocations: 86.52 kB / 0.5133 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000724/0.4116, allocations: 99.56 kB / 0.5134 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.4122, allocations: 390.1 kB / 0.5138 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.4123, allocations: 33 kB / 0.5138 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.4124, allocations: 51.94 kB / 0.5139 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.4136, allocations: 0.6205 MB / 0.5145 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4136, allocations: 0 / 0.5145 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.4137, allocations: 24 kB / 0.5145 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4137, allocations: 14.11 kB / 0.5145 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.4147, allocations: 0.5268 MB / 0.5151 GB, free: 8.496 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.004655/0.4194, allocations: 3.813 MB / 0.5188 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.4204, allocations: 394.2 kB / 0.5192 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.4207, allocations: 197.4 kB / 0.5193 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003618/0.4243, allocations: 3.455 MB / 0.5227 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.4244, allocations: 42.94 kB / 0.5228 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.054e-06/0.4244, allocations: 0 / 0.5228 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.009444/0.4338, allocations: 2.033 MB / 0.5247 GB, free: 13.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4339, allocations: 63.72 kB / 0.5248 GB, free: 13.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.4342, allocations: 308.5 kB / 0.5251 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.4343, allocations: 33.7 kB / 0.5251 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.4344, allocations: 245.1 kB / 0.5254 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.4346, allocations: 198.3 kB / 0.5256 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.4348, allocations: 118.3 kB / 0.5257 GB, free: 12.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.435, allocations: 346.8 kB / 0.526 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.4353, allocations: 189.2 kB / 0.5262 GB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.4357, allocations: 328 kB / 0.5265 GB, free: 11.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.4366, allocations: 0.5452 MB / 0.527 GB, free: 10.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4366, allocations: 0 / 0.527 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001314/0.4379, allocations: 0.6703 MB / 0.5277 GB, free: 10.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4379, allocations: 11.94 kB / 0.5277 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4379, allocations: 4.562 kB / 0.5277 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009311/0.4472, allocations: 446 kB / 0.5281 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.4478, allocations: 147.7 kB / 0.5283 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.4502, allocations: 3.093 MB / 0.5313 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.4505, allocations: 16.5 kB / 0.5313 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.4506, allocations: 27.98 kB / 0.5313 GB, free: 6.344 MB / 430.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.0002668/0.4508, allocations: 187.4 kB / 0.5315 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.4509, allocations: 39.77 kB / 0.5315 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.4526, allocations: 1.056 MB / 0.5326 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4526, allocations: 15.98 kB / 0.5326 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4526, allocations: 4.75 kB / 0.5326 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/0.4539, allocations: 1.091 MB / 0.5337 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4563, allocations: 1.726 MB / 0.5353 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4563, allocations: 7.922 kB / 0.5353 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.4567, allocations: 95.89 kB / 0.5354 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/0.4596, allocations: 349.7 kB / 0.5358 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.4597, allocations: 15.98 kB / 0.5358 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008089/0.4605, allocations: 1.148 MB / 0.5369 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4605, allocations: 0 / 0.5369 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.4621, allocations: 1.138 MB / 0.538 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4623, allocations: 124.7 kB / 0.5381 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.4623, allocations: 15.94 kB / 0.5382 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.4626, allocations: 12 kB / 0.5382 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.4627, allocations: 37.62 kB / 0.5382 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.4627, allocations: 20 kB / 0.5382 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002839/0.463, allocations: 247 kB / 0.5385 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.463, allocations: 4 kB / 0.5385 GB, free: 14.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00542/0.4684, allocations: 0.9818 MB / 0.5394 GB, free: 13.79 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.03158/0.5, allocations: 9.454 MB / 0.5486 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.5017, allocations: 0.6927 MB / 0.5493 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5017, allocations: 0 / 0.5493 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.5024, allocations: 351.5 kB / 0.5497 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.5038, allocations: 263.5 kB / 0.5499 GB, free: 2.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5146, allocations: 5.344 MB / 0.5551 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.5151, allocations: 0.8648 MB / 0.556 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005278/0.5156, allocations: 240.8 kB / 0.5562 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.5159, allocations: 203.4 kB / 0.5564 GB, free: 12.1 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5159, allocations: 0 / 0.5564 GB, free: 12.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07995/0.5959, allocations: 42.35 MB / 0.5978 GB, free: 1.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.92, allocations: 22.3 kB / 0.5978 GB, free: 1.848 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.40848666499369] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p', 'volume1.medium.h', 'volume1.medium.p'] 14.099191008019261 14.12379433 13.716372069 Calling exit ...