Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00216/0.00216, allocations: 178.9 kB / 8.701 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 78.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.727e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.16/19.3, allocations: 6.679 GB / 7.034 GB, free: 99.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/19.3, allocations: 79.02 kB / 7.034 GB, free: 99.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7586/20.06, allocations: 190.1 MB / 7.219 GB, free: 77.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.657e-06/20.06, allocations: 0 / 7.219 GB, free: 77.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/20.06, allocations: 3.906 kB / 7.219 GB, free: 77.34 MB / 426.7 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.009081/20.06, allocations: 1.446 MB / 7.221 GB, free: 76.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.718e-05/20.06, allocations: 6.844 kB / 7.221 GB, free: 76.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/20.06, allocations: 25.86 kB / 7.221 GB, free: 76.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/20.07, allocations: 217.3 kB / 7.221 GB, free: 76.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/20.07, allocations: 3.906 kB / 7.221 GB, free: 76.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/20.07, allocations: 11.81 kB / 7.221 GB, free: 76.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004121/20.07, allocations: 241.6 kB / 7.221 GB, free: 76.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/20.07, allocations: 234.1 kB / 7.221 GB, free: 76.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/20.07, allocations: 0 / 7.221 GB, free: 76.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/20.07, allocations: 3.953 kB / 7.221 GB, free: 76.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/20.07, allocations: 11.88 kB / 7.221 GB, free: 76.12 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001378/20.07, allocations: 0.6702 MB / 7.222 GB, free: 75.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/20.07, allocations: 207.6 kB / 7.222 GB, free: 75.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/20.07, allocations: 107.1 kB / 7.222 GB, free: 75.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/20.08, allocations: 12.47 MB / 7.234 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/20.08, allocations: 45.62 kB / 7.235 GB, free: 62.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 4.368e-06/20.08, allocations: 0 / 7.235 GB, free: 62.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001936/20.08, allocations: 0.4923 MB / 7.235 GB, free: 62.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/20.08, allocations: 81.11 kB / 7.235 GB, free: 62.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/20.08, allocations: 113 kB / 7.235 GB, free: 62.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/20.08, allocations: 25.7 kB / 7.235 GB, free: 62.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/20.08, allocations: 113.9 kB / 7.235 GB, free: 62.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/20.08, allocations: 123.3 kB / 7.235 GB, free: 62.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/20.08, allocations: 0 / 7.235 GB, free: 62.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/20.08, allocations: 328.2 kB / 7.236 GB, free: 62.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/20.08, allocations: 104.8 kB / 7.236 GB, free: 62.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/20.08, allocations: 173.6 kB / 7.236 GB, free: 61.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/20.08, allocations: 143.2 kB / 7.236 GB, free: 61.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/20.08, allocations: 0 / 7.236 GB, free: 61.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007075/20.08, allocations: 376.7 kB / 7.237 GB, free: 61.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/20.08, allocations: 3.156 kB / 7.237 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/20.08, allocations: 2.062 kB / 7.237 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/20.08, allocations: 3.719 kB / 7.237 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/20.09, allocations: 92.22 kB / 7.237 GB, free: 61.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/20.09, allocations: 7.891 kB / 7.237 GB, free: 61.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/20.09, allocations: 26.52 kB / 7.237 GB, free: 61.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/20.09, allocations: 15.41 kB / 7.237 GB, free: 61.86 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/20.09, allocations: 112.8 kB / 7.237 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006082/20.09, allocations: 321.1 kB / 7.237 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/20.09, allocations: 19.38 kB / 7.237 GB, free: 61.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/20.09, allocations: 210.6 kB / 7.237 GB, free: 61.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/20.09, allocations: 7.172 kB / 7.237 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/20.09, allocations: 6.156 kB / 7.237 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/20.09, allocations: 3.281 kB / 7.237 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/20.09, allocations: 0.6541 MB / 7.238 GB, free: 61.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/20.09, allocations: 0 / 7.238 GB, free: 61.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/20.09, allocations: 89.69 kB / 7.238 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/20.09, allocations: 1.969 kB / 7.238 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/20.09, allocations: 7.594 kB / 7.238 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/20.09, allocations: 7.125 kB / 7.238 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/20.09, allocations: 0 / 7.238 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/20.09, allocations: 0.7012 MB / 7.239 GB, free: 60.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/20.09, allocations: 132 kB / 7.239 GB, free: 60.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/20.09, allocations: 3.719 kB / 7.239 GB, free: 60.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/20.09, allocations: 20.23 kB / 7.239 GB, free: 60.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/20.09, allocations: 25.5 kB / 7.239 GB, free: 60.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/20.09, allocations: 18.23 kB / 7.239 GB, free: 60.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.718e-05/20.09, allocations: 91.89 kB / 7.239 GB, free: 60.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/20.09, allocations: 4 kB / 7.239 GB, free: 60.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006584/20.1, allocations: 1.094 MB / 7.24 GB, free: 60.53 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01244/20.11, allocations: 3.241 MB / 7.243 GB, free: 58.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007368/20.11, allocations: 272.5 kB / 7.244 GB, free: 58.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/20.11, allocations: 3.625 kB / 7.244 GB, free: 58.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/20.11, allocations: 149.2 kB / 7.244 GB, free: 58.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/20.11, allocations: 82.02 kB / 7.244 GB, free: 58.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0286/20.14, allocations: 12.32 MB / 7.256 GB, free: 56.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/20.14, allocations: 0.7415 MB / 7.256 GB, free: 55.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004529/20.14, allocations: 84.91 kB / 7.257 GB, free: 55.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/20.14, allocations: 72.73 kB / 7.257 GB, free: 55.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/20.14, allocations: 3.75 kB / 7.257 GB, free: 55.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07744/20.22, allocations: 34.1 MB / 7.29 GB, free: 27.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/20.22, allocations: 160.3 kB / 7.29 GB, free: 26.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/23.32, allocations: 0 / 7.29 GB, free: 26.92 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)