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.001453/0.001453, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001549/0.001549, allocations: 218.4 kB / 22.92 MB, free: 5.535 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.271/1.271, allocations: 230.5 MB / 256.4 MB, free: 8.418 MB / 206.1 MB " [Timeout remaining time 179] 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.001759/0.001759, allocations: 71.83 kB / 376.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2148, allocations: 53.32 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3463/0.561, allocations: 154.9 MB / 0.5706 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.5624, allocations: 1.622 MB / 0.5722 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.5624, allocations: 0 / 0.5722 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.5628, allocations: 72.91 kB / 0.5723 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.5631, allocations: 160.4 kB / 0.5724 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.5654, allocations: 1.045 MB / 0.5735 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.5658, allocations: 359.1 kB / 0.5738 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.5658, allocations: 10.53 kB / 0.5738 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.566, allocations: 163.5 kB / 0.574 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.5662, allocations: 134.5 kB / 0.5741 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.5663, allocations: 13.25 kB / 0.5741 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.5685, allocations: 1.664 MB / 0.5757 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.5686, allocations: 75.8 kB / 0.5758 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.5687, allocations: 106.2 kB / 0.5759 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.5699, allocations: 1.036 MB / 0.5769 GB, free: 12.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5699, allocations: 0 / 0.5769 GB, free: 12.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5699, allocations: 4 kB / 0.5769 GB, free: 12.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.5699, allocations: 1.781 kB / 0.5769 GB, free: 12.48 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.001562/0.5715, allocations: 0.7108 MB / 0.5776 GB, free: 11.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5715, allocations: 9.75 kB / 0.5776 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.5716, allocations: 53.06 kB / 0.5777 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.5717, allocations: 21.25 kB / 0.5777 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.5719, allocations: 223.3 kB / 0.5779 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5719, allocations: 10.83 kB / 0.5779 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.572, allocations: 20.92 kB / 0.5779 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.5725, allocations: 264.3 kB / 0.5782 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5725, allocations: 0 / 0.5782 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.5725, allocations: 9.531 kB / 0.5782 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.5725, allocations: 6.016 kB / 0.5782 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.5731, allocations: 274.1 kB / 0.5785 GB, free: 11.66 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.001257/0.5743, allocations: 0.781 MB / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.5749, allocations: 216.8 kB / 0.5794 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.5751, allocations: 129.3 kB / 0.5796 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.5755, allocations: 366.7 kB / 0.5799 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5755, allocations: 39.41 kB / 0.58 GB, free: 10.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.5755, allocations: 0 / 0.58 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002178/0.5777, allocations: 0.6787 MB / 0.5806 GB, free: 10.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.5777, allocations: 83.14 kB / 0.5807 GB, free: 10.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.5778, allocations: 142.1 kB / 0.5808 GB, free: 10.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.5779, allocations: 36.44 kB / 0.5809 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.578, allocations: 114.9 kB / 0.581 GB, free: 10.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.578, allocations: 126.1 kB / 0.5811 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.5782, allocations: 75.31 kB / 0.5812 GB, free: 10.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5783, allocations: 328.5 kB / 0.5815 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.5786, allocations: 136.3 kB / 0.5816 GB, free: 9.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.579, allocations: 213.7 kB / 0.5818 GB, free: 9.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.5797, allocations: 358.3 kB / 0.5822 GB, free: 9.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5797, allocations: 0 / 0.5822 GB, free: 9.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008506/0.5806, allocations: 413.6 kB / 0.5826 GB, free: 9.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5806, allocations: 5.344 kB / 0.5826 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.5806, allocations: 6.547 kB / 0.5826 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5806, allocations: 2.688 kB / 0.5826 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.5811, allocations: 93.28 kB / 0.5827 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5811, allocations: 2.844 kB / 0.5827 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.5813, allocations: 32.34 kB / 0.5827 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.5814, allocations: 17.3 kB / 0.5827 GB, free: 9.336 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.0001432/0.5815, allocations: 141.2 kB / 0.5828 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.5816, allocations: 25.59 kB / 0.5829 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.5819, allocations: 179.6 kB / 0.583 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5819, allocations: 5.031 kB / 0.583 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5819, allocations: 0 / 0.583 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5819, allocations: 14.27 kB / 0.5831 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.5835, allocations: 0.7712 MB / 0.5838 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5835, allocations: 2.906 kB / 0.5838 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.5839, allocations: 79.28 kB / 0.5839 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5839, allocations: 5.031 kB / 0.5839 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.5839, allocations: 8.625 kB / 0.5839 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.5839, allocations: 10.91 kB / 0.5839 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5839, allocations: 0 / 0.5839 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5852, allocations: 0.7144 MB / 0.5846 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.5853, allocations: 131.5 kB / 0.5847 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.5853, allocations: 9.172 kB / 0.5847 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.5857, allocations: 26.31 kB / 0.5848 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5857, allocations: 27.5 kB / 0.5848 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.5857, allocations: 13.62 kB / 0.5848 GB, free: 8.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.128e-05/0.5858, allocations: 105.8 kB / 0.5849 GB, free: 8.023 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5858, allocations: 0 / 0.5849 GB, free: 8.023 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005452/0.5864, allocations: 165.2 kB / 0.5851 GB, free: 7.992 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.001835/0.5882, allocations: 1.39 MB / 0.5864 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.589, allocations: 327.3 kB / 0.5867 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.589, allocations: 0 / 0.5867 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.5894, allocations: 173.4 kB / 0.5869 GB, free: 6.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006763/0.5901, allocations: 102.6 kB / 0.587 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.5944, allocations: 2.925 MB / 0.5899 GB, free: 4.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.5947, allocations: 0.7464 MB / 0.5906 GB, free: 4.242 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.595, allocations: 77.73 kB / 0.5907 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.5952, allocations: 72.8 kB / 0.5907 GB, free: 4.184 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5952, allocations: 0 / 0.5907 GB, free: 4.184 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.6281, allocations: 8.666 MB / 0.5992 GB, free: 15.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/8.061, allocations: 12.61 kB / 0.5992 GB, free: 15.82 MB / 478.1 MB " [Timeout remaining time 652] (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 --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: 10.115658144000918]