Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.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.001252/0.001252, allocations: 120.4 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.001311/0.001311, allocations: 208.9 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.43/1.43, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_MoistAir",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.001937/0.001937, allocations: 55.91 kB / 373.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 53.31 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3882/0.4925, allocations: 154.9 MB / 0.5681 GB, free: 5.617 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.4947, allocations: 1.62 MB / 0.5697 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.4948, allocations: 0 / 0.5697 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.4952, allocations: 63.64 kB / 0.5698 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.4957, allocations: 175 kB / 0.5699 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.4994, allocations: 1.04 MB / 0.571 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.4999, allocations: 350.7 kB / 0.5713 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.5, allocations: 5.562 kB / 0.5713 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.5003, allocations: 171.4 kB / 0.5715 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.5005, allocations: 143.5 kB / 0.5716 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.5005, allocations: 12 kB / 0.5716 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.5037, allocations: 1.661 MB / 0.5732 GB, free: 396 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.5038, allocations: 71.78 kB / 0.5733 GB, free: 324 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.504, allocations: 103.6 kB / 0.5734 GB, free: 220 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.5059, allocations: 1.036 MB / 0.5744 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.506, allocations: 0 / 0.5744 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.506, allocations: 0 / 0.5744 GB, free: 15.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.506, allocations: 4 kB / 0.5744 GB, free: 15.18 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001822/0.5078, allocations: 0.7082 MB / 0.5751 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5078, allocations: 8.031 kB / 0.5751 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.309e-05/0.5079, allocations: 50.73 kB / 0.5752 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.508, allocations: 28.77 kB / 0.5752 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.5083, allocations: 227.2 kB / 0.5754 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.5084, allocations: 8.328 kB / 0.5754 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.5084, allocations: 23.89 kB / 0.5754 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.509, allocations: 261.5 kB / 0.5757 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.509, allocations: 0 / 0.5757 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.509, allocations: 4 kB / 0.5757 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.5091, allocations: 8 kB / 0.5757 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006361/0.5097, allocations: 267.7 kB / 0.576 GB, free: 13.49 MB / 494.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.001564/0.5113, allocations: 0.7895 MB / 0.5767 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.5119, allocations: 213.3 kB / 0.5769 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.5122, allocations: 129.9 kB / 0.577 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003753/0.5126, allocations: 356.3 kB / 0.5774 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.5126, allocations: 50.48 kB / 0.5774 GB, free: 11.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.844e-06/0.5126, allocations: 0 / 0.5774 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.00255/0.5152, allocations: 0.6815 MB / 0.5781 GB, free: 11.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.5152, allocations: 81.11 kB / 0.5782 GB, free: 11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.5154, allocations: 151 kB / 0.5783 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.5154, allocations: 33.7 kB / 0.5784 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.5155, allocations: 112.9 kB / 0.5785 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.5156, allocations: 134.8 kB / 0.5786 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.5158, allocations: 65.64 kB / 0.5787 GB, free: 10.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5159, allocations: 326.8 kB / 0.579 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.5163, allocations: 135.9 kB / 0.5791 GB, free: 10.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.5167, allocations: 211.9 kB / 0.5793 GB, free: 9.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.5175, allocations: 359.4 kB / 0.5796 GB, free: 9.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5175, allocations: 0 / 0.5796 GB, free: 9.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001011/0.5185, allocations: 416.2 kB / 0.58 GB, free: 9.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5185, allocations: 8 kB / 0.58 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.5185, allocations: 0.5625 kB / 0.58 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.5186, allocations: 4 kB / 0.58 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.5191, allocations: 92.09 kB / 0.5801 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.5191, allocations: 7.938 kB / 0.5801 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.5194, allocations: 28.62 kB / 0.5802 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.5194, allocations: 19.98 kB / 0.5802 GB, free: 8.848 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.5196, allocations: 141.7 kB / 0.5803 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.5197, allocations: 19.89 kB / 0.5803 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.5201, allocations: 172 kB / 0.5805 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5201, allocations: 4 kB / 0.5805 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5201, allocations: 3.938 kB / 0.5805 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5201, allocations: 11.92 kB / 0.5805 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.522, allocations: 0.7724 MB / 0.5813 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.522, allocations: 0 / 0.5813 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.5224, allocations: 75.88 kB / 0.5814 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.5225, allocations: 4 kB / 0.5814 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.5225, allocations: 12 kB / 0.5814 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.5225, allocations: 11.92 kB / 0.5814 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5225, allocations: 4.156 kB / 0.5814 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.524, allocations: 0.7103 MB / 0.5821 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.5241, allocations: 128.9 kB / 0.5822 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.5242, allocations: 8 kB / 0.5822 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.5246, allocations: 24.03 kB / 0.5822 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.5246, allocations: 23.97 kB / 0.5823 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.5246, allocations: 12 kB / 0.5823 GB, free: 6.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.5247, allocations: 111.2 kB / 0.5824 GB, free: 6.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5247, allocations: 3.938 kB / 0.5824 GB, free: 6.469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006296/0.5254, allocations: 155.7 kB / 0.5825 GB, free: 6.316 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/0.5277, allocations: 1.403 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009586/0.5286, allocations: 331.6 kB / 0.5842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5286, allocations: 0 / 0.5842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.529, allocations: 169.2 kB / 0.5844 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/0.5298, allocations: 112.9 kB / 0.5845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.5349, allocations: 2.931 MB / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.5353, allocations: 0.7452 MB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003609/0.5356, allocations: 75.8 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.5358, allocations: 79.39 kB / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5358, allocations: 0 / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.5727, allocations: 8.628 MB / 0.5966 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.762, allocations: 7.875 kB / 0.5967 GB, free: 7.773 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0-beta_om_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.031248147133738] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 8.836801333352923 8.858782817 8.348579448 Calling exit ...