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.001324/0.001324, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001437/0.001437, allocations: 209.6 kB / 24.54 MB, free: 4.035 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.001968/0.001968, allocations: 60.77 kB / 378.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2454, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4164/0.6618, allocations: 155 MB / 0.5731 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.6634, allocations: 1.614 MB / 0.5747 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.6635, allocations: 3.188 kB / 0.5747 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.6638, allocations: 67.91 kB / 0.5748 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.6642, allocations: 168 kB / 0.5749 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.6667, allocations: 1.06 MB / 0.5759 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.6671, allocations: 357.1 kB / 0.5763 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.101e-05/0.6672, allocations: 8.812 kB / 0.5763 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.6674, allocations: 172.1 kB / 0.5765 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.6677, allocations: 135 kB / 0.5766 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.6677, allocations: 15.12 kB / 0.5766 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.6702, allocations: 1.685 MB / 0.5782 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.6703, allocations: 72.44 kB / 0.5783 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.6705, allocations: 107.5 kB / 0.5784 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.6721, allocations: 1.032 MB / 0.5794 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6721, allocations: 1.203 kB / 0.5794 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6721, allocations: 2.156 kB / 0.5794 GB, free: 12.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.6721, allocations: 0 / 0.5794 GB, free: 12.41 MB / 462.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.001768/0.6739, allocations: 0.6393 MB / 0.5801 GB, free: 12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6739, allocations: 7.531 kB / 0.5801 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.674, allocations: 49.92 kB / 0.5801 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.6741, allocations: 24.41 kB / 0.5801 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.6744, allocations: 165.5 kB / 0.5803 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6744, allocations: 12.73 kB / 0.5803 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.6745, allocations: 17.27 kB / 0.5803 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.675, allocations: 265.7 kB / 0.5806 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.675, allocations: 0 / 0.5806 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.675, allocations: 5.562 kB / 0.5806 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.6751, allocations: 12.92 kB / 0.5806 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.6756, allocations: 266 kB / 0.5808 GB, free: 11.74 MB / 462.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.001423/0.677, allocations: 0.767 MB / 0.5816 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.6776, allocations: 215.9 kB / 0.5818 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.6779, allocations: 135.1 kB / 0.5819 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.6781, allocations: 52.11 kB / 0.582 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.6781, allocations: 37.5 kB / 0.582 GB, free: 11.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.6781, allocations: 0 / 0.582 GB, free: 11.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002361/0.6805, allocations: 0.6851 MB / 0.5827 GB, free: 11.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.6806, allocations: 86.91 kB / 0.5828 GB, free: 10.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.6807, allocations: 137.4 kB / 0.5829 GB, free: 10.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.6807, allocations: 31.3 kB / 0.5829 GB, free: 10.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.6808, allocations: 113.4 kB / 0.583 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6809, allocations: 133.8 kB / 0.5832 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.6811, allocations: 74.34 kB / 0.5832 GB, free: 10.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6812, allocations: 332.1 kB / 0.5836 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.6816, allocations: 134.4 kB / 0.5837 GB, free: 10.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.682, allocations: 212.7 kB / 0.5839 GB, free: 10.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.6827, allocations: 356.9 kB / 0.5842 GB, free: 9.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6827, allocations: 5.875 kB / 0.5842 GB, free: 9.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009769/0.6837, allocations: 412.1 kB / 0.5846 GB, free: 9.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.6837, allocations: 9.312 kB / 0.5846 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6837, allocations: 3.922 kB / 0.5846 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.6838, allocations: 4.438 kB / 0.5846 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.6843, allocations: 87.34 kB / 0.5847 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6843, allocations: 2.812 kB / 0.5847 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.6846, allocations: 31.41 kB / 0.5848 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.6847, allocations: 14.42 kB / 0.5848 GB, free: 9.816 MB / 462.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.0001911/0.6849, allocations: 155.2 kB / 0.5849 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.685, allocations: 17.91 kB / 0.5849 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.6853, allocations: 173.8 kB / 0.5851 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6853, allocations: 2.938 kB / 0.5851 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6853, allocations: 5.797 kB / 0.5851 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6853, allocations: 5.031 kB / 0.5851 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.687, allocations: 0.7459 MB / 0.5858 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.687, allocations: 2.781 kB / 0.5858 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.6875, allocations: 81.66 kB / 0.5859 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6875, allocations: 7.984 kB / 0.5859 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.6875, allocations: 7.938 kB / 0.5859 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6875, allocations: 2.656 kB / 0.5859 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6875, allocations: 6.625 kB / 0.5859 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.6889, allocations: 0.7201 MB / 0.5866 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.689, allocations: 45.72 kB / 0.5867 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.6891, allocations: 9.594 kB / 0.5867 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.6894, allocations: 25.28 kB / 0.5867 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.6895, allocations: 25.47 kB / 0.5867 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.6895, allocations: 17.83 kB / 0.5868 GB, free: 8.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.104e-05/0.6896, allocations: 109.2 kB / 0.5869 GB, free: 8.629 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6896, allocations: 3.828 kB / 0.5869 GB, free: 8.629 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006405/0.6902, allocations: 155.5 kB / 0.587 GB, free: 8.602 MB / 462.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.002152/0.6924, allocations: 1.39 MB / 0.5884 GB, free: 7.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009065/0.6933, allocations: 323.5 kB / 0.5887 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6933, allocations: 0 / 0.5887 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.6937, allocations: 169.6 kB / 0.5888 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007464/0.6944, allocations: 111.3 kB / 0.589 GB, free: 7.531 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.6994, allocations: 2.924 MB / 0.5918 GB, free: 5.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6998, allocations: 0.7356 MB / 0.5925 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003755/0.7002, allocations: 78.58 kB / 0.5926 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.7003, allocations: 70.06 kB / 0.5927 GB, free: 4.812 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.7003, allocations: 0 / 0.5927 GB, free: 4.812 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.7363, allocations: 8.905 MB / 0.6014 GB, free: 332 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.715/9.451, allocations: 2.5 kB / 0.6014 GB, free: 332 kB / 462.1 MB " [Timeout remaining time 650] (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.81713434169069] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 9.526162483729422 9.5433963 8.867879555 Calling exit ...