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.001683/0.001683, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002074/0.002074, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.555/1.555, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.001951/0.001951, allocations: 71.83 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1031, allocations: 53.32 MB / 427 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3889/0.4919, allocations: 154.9 MB / 0.5683 GB, free: 5.555 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.494, allocations: 1.616 MB / 0.5698 GB, free: 3.934 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.4941, allocations: 0 / 0.5698 GB, free: 3.934 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.4944, allocations: 64.3 kB / 0.5699 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.4948, allocations: 179 kB / 0.5701 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.4981, allocations: 1.037 MB / 0.5711 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.4986, allocations: 350.7 kB / 0.5714 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.4986, allocations: 5.562 kB / 0.5714 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.4989, allocations: 171.4 kB / 0.5716 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.4992, allocations: 139.5 kB / 0.5717 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.4992, allocations: 15.09 kB / 0.5717 GB, free: 2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.5025, allocations: 1.669 MB / 0.5734 GB, free: 336 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.5027, allocations: 71.78 kB / 0.5734 GB, free: 264 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.5028, allocations: 103.6 kB / 0.5735 GB, free: 160 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.5049, allocations: 1.03 MB / 0.5745 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5049, allocations: 0 / 0.5745 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5049, allocations: 4 kB / 0.5745 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.5049, allocations: 0 / 0.5745 GB, free: 15.12 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.001974/0.5069, allocations: 0.7048 MB / 0.5752 GB, free: 14.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5069, allocations: 20.02 kB / 0.5752 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.9e-05/0.507, allocations: 50.73 kB / 0.5753 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.5071, allocations: 20.84 kB / 0.5753 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.5074, allocations: 223.9 kB / 0.5755 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.5074, allocations: 12.33 kB / 0.5755 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.5075, allocations: 19.89 kB / 0.5756 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.5081, allocations: 265.4 kB / 0.5758 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5081, allocations: 0 / 0.5758 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.5081, allocations: 15.98 kB / 0.5758 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.5081, allocations: 7.984 kB / 0.5758 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/0.5089, allocations: 263.7 kB / 0.5761 GB, free: 13.43 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.001596/0.5105, allocations: 0.7933 MB / 0.5769 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.5111, allocations: 210.3 kB / 0.5771 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.5115, allocations: 133.9 kB / 0.5772 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003743/0.5118, allocations: 356.3 kB / 0.5775 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.5119, allocations: 38.56 kB / 0.5776 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.5119, allocations: 0 / 0.5776 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002591/0.5145, allocations: 0.6841 MB / 0.5782 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.5145, allocations: 85.09 kB / 0.5783 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.5147, allocations: 138.4 kB / 0.5784 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.5147, allocations: 33.7 kB / 0.5785 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.5148, allocations: 112.9 kB / 0.5786 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.5149, allocations: 134.8 kB / 0.5787 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.515, allocations: 77.58 kB / 0.5788 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5152, allocations: 322.8 kB / 0.5791 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.5156, allocations: 135.8 kB / 0.5792 GB, free: 9.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.5161, allocations: 211.5 kB / 0.5794 GB, free: 9.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.5169, allocations: 368.5 kB / 0.5798 GB, free: 9.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5169, allocations: 0 / 0.5798 GB, free: 9.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001043/0.518, allocations: 410.5 kB / 0.5802 GB, free: 8.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.518, allocations: 8.625 kB / 0.5802 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.518, allocations: 0 / 0.5802 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.518, allocations: 4 kB / 0.5802 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.5185, allocations: 87.88 kB / 0.5803 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.5185, allocations: 8.219 kB / 0.5803 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.5189, allocations: 27.88 kB / 0.5803 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.5189, allocations: 23.92 kB / 0.5803 GB, free: 8.789 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.0001844/0.5191, allocations: 145.7 kB / 0.5805 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.5192, allocations: 15.91 kB / 0.5805 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.5196, allocations: 176.6 kB / 0.5806 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5196, allocations: 4 kB / 0.5806 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5196, allocations: 0 / 0.5806 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.5196, allocations: 7.922 kB / 0.5807 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.5215, allocations: 0.7736 MB / 0.5814 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.5215, allocations: 4.875 kB / 0.5814 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.522, allocations: 79.88 kB / 0.5815 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-06/0.522, allocations: 4 kB / 0.5815 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.522, allocations: 8 kB / 0.5815 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.522, allocations: 7.984 kB / 0.5815 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.522, allocations: 6.125 kB / 0.5815 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.5236, allocations: 0.7105 MB / 0.5822 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.5237, allocations: 125.7 kB / 0.5823 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.5238, allocations: 8 kB / 0.5823 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.5242, allocations: 28.03 kB / 0.5824 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.5242, allocations: 27.91 kB / 0.5824 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.5242, allocations: 15.98 kB / 0.5824 GB, free: 6.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.5243, allocations: 109.7 kB / 0.5825 GB, free: 6.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5243, allocations: 3.938 kB / 0.5825 GB, free: 6.406 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006369/0.525, allocations: 151.7 kB / 0.5827 GB, free: 6.258 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.002252/0.5272, allocations: 1.406 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.5283, allocations: 327.7 kB / 0.5843 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5283, allocations: 4 kB / 0.5843 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.5287, allocations: 167.7 kB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/0.5295, allocations: 109.6 kB / 0.5846 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/0.5347, allocations: 2.931 MB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5351, allocations: 0.7452 MB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003321/0.5354, allocations: 70.25 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.5356, allocations: 75.39 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5356, allocations: 0 / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.5703, allocations: 8.619 MB / 0.5968 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/9.032, allocations: 22.73 kB / 0.5968 GB, free: 7.715 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.595668700989336] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 9.106433840002865 9.133657121 8.623897089 Calling exit ...