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.001309/0.001309, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001467/0.001467, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001926/0.001926, allocations: 64.78 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2339, allocations: 53.38 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3975/0.6315, allocations: 155 MB / 0.5731 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.633, allocations: 1.611 MB / 0.5747 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.633, allocations: 0 / 0.5747 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.6334, allocations: 80.8 kB / 0.5748 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.6338, allocations: 158.9 kB / 0.5749 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.6364, allocations: 1.058 MB / 0.5759 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.6368, allocations: 352.8 kB / 0.5763 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.6369, allocations: 10.5 kB / 0.5763 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.6371, allocations: 177.2 kB / 0.5765 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.6374, allocations: 137.7 kB / 0.5766 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.6374, allocations: 13.03 kB / 0.5766 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.64, allocations: 1.684 MB / 0.5783 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.6401, allocations: 75.36 kB / 0.5783 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.6403, allocations: 102 kB / 0.5784 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.6418, allocations: 1.037 MB / 0.5794 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6418, allocations: 0 / 0.5794 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6418, allocations: 4 kB / 0.5794 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.6418, allocations: 0 / 0.5794 GB, free: 12.39 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.001747/0.6436, allocations: 0.6362 MB / 0.5801 GB, free: 11.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6436, allocations: 7.812 kB / 0.5801 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.43e-05/0.6437, allocations: 52.62 kB / 0.5801 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.6438, allocations: 21.78 kB / 0.5801 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.6441, allocations: 161.9 kB / 0.5803 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.6441, allocations: 11.55 kB / 0.5803 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.6442, allocations: 22.16 kB / 0.5803 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.6447, allocations: 263.3 kB / 0.5806 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6447, allocations: 3.938 kB / 0.5806 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.6448, allocations: 9.688 kB / 0.5806 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.6448, allocations: 7.281 kB / 0.5806 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.6454, allocations: 267.8 kB / 0.5808 GB, free: 11.73 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.001477/0.6468, allocations: 0.7582 MB / 0.5816 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.6474, allocations: 218.2 kB / 0.5818 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.6477, allocations: 129.6 kB / 0.5819 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.648, allocations: 56.3 kB / 0.582 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.648, allocations: 41.34 kB / 0.582 GB, free: 11.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.724e-06/0.648, allocations: 0 / 0.582 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.00243/0.6504, allocations: 0.6859 MB / 0.5827 GB, free: 11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.6505, allocations: 83.33 kB / 0.5828 GB, free: 10.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.6506, allocations: 141.5 kB / 0.5829 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.6507, allocations: 34.55 kB / 0.5829 GB, free: 10.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.6507, allocations: 113.5 kB / 0.583 GB, free: 10.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.6508, allocations: 129.2 kB / 0.5832 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.651, allocations: 75.83 kB / 0.5832 GB, free: 10.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6511, allocations: 326.4 kB / 0.5835 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.6514, allocations: 134.2 kB / 0.5837 GB, free: 10.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.6519, allocations: 215 kB / 0.5839 GB, free: 10.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.6527, allocations: 361.1 kB / 0.5842 GB, free: 9.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6527, allocations: 2.594 kB / 0.5842 GB, free: 9.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009076/0.6536, allocations: 415.5 kB / 0.5846 GB, free: 9.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6536, allocations: 4.344 kB / 0.5846 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.6536, allocations: 3.344 kB / 0.5846 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.6536, allocations: 3 kB / 0.5846 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.6541, allocations: 89.22 kB / 0.5847 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6542, allocations: 4.562 kB / 0.5847 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.6545, allocations: 31.66 kB / 0.5848 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.6545, allocations: 16.86 kB / 0.5848 GB, free: 9.805 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.0001624/0.6547, allocations: 140.2 kB / 0.5849 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.6548, allocations: 22.27 kB / 0.5849 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.6552, allocations: 177.3 kB / 0.5851 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6552, allocations: 2.781 kB / 0.5851 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6552, allocations: 0 / 0.5851 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.6552, allocations: 14.36 kB / 0.5851 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.6569, allocations: 0.7455 MB / 0.5858 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-06/0.6569, allocations: 0 / 0.5858 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.6574, allocations: 77.8 kB / 0.5859 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6574, allocations: 2.688 kB / 0.5859 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.6574, allocations: 11.73 kB / 0.5859 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.6574, allocations: 3.188 kB / 0.5859 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6574, allocations: 7.812 kB / 0.5859 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.6589, allocations: 0.7259 MB / 0.5866 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.659, allocations: 46.06 kB / 0.5867 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.6591, allocations: 9.625 kB / 0.5867 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.6595, allocations: 21.33 kB / 0.5867 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.6595, allocations: 26.3 kB / 0.5867 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.6595, allocations: 20.14 kB / 0.5868 GB, free: 8.703 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.6596, allocations: 101.9 kB / 0.5869 GB, free: 8.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6596, allocations: 2.094 kB / 0.5869 GB, free: 8.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006472/0.6603, allocations: 162.7 kB / 0.587 GB, free: 8.594 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.002171/0.6624, allocations: 1.393 MB / 0.5884 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008921/0.6633, allocations: 327 kB / 0.5887 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6633, allocations: 2.75 kB / 0.5887 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.6638, allocations: 168.4 kB / 0.5889 GB, free: 7.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.6645, allocations: 118 kB / 0.589 GB, free: 7.512 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.6693, allocations: 2.913 MB / 0.5918 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.6697, allocations: 0.7435 MB / 0.5925 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.6701, allocations: 81.66 kB / 0.5926 GB, free: 4.805 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.6704, allocations: 66.12 kB / 0.5927 GB, free: 4.793 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6704, allocations: 1.094 kB / 0.5927 GB, free: 4.793 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.708, allocations: 8.895 MB / 0.6014 GB, free: 324 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/9.315, allocations: 3.156 kB / 0.6014 GB, free: 324 kB / 462.1 MB " [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.520597859285772] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 9.391151162330061 9.407021064 8.762137683 Calling exit ...