Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.0008931, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008145/0.0008146, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005716/0.0005718, allocations: 13.38 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3003, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001848/0.3022, allocations: 1.207 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.3026, allocations: 120.8 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.3027, allocations: 4 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.3027, allocations: 3.984 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.3028, allocations: 3.938 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.3031, allocations: 66.91 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3033, allocations: 47.86 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3034, allocations: 19.97 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.3035, allocations: 15.92 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.3036, allocations: 23.92 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3036, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.3036, allocations: 4 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.3036, allocations: 11.98 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.3037, allocations: 29.64 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.171e-05/0.3038, allocations: 40.14 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3038, allocations: 3.984 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3038, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3038, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005985/0.3044, allocations: 367.2 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3045, allocations: 12.03 kB / 0.7893 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.895e-05/0.3045, allocations: 34.56 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.3046, allocations: 7.906 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3048, allocations: 163 kB / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/0.3048, allocations: 33.7 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3049, allocations: 11.92 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.3051, allocations: 85.59 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3051, allocations: 0 / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3051, allocations: 4 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3052, allocations: 0 / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3053, allocations: 59.94 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.306, allocations: 332.7 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3062, allocations: 50.5 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.467e-05/0.3063, allocations: 40.92 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.3063, allocations: 0 / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3063, allocations: 38.56 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3063, allocations: 0 / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003691/0.3067, allocations: 113.6 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3068, allocations: 59.28 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.3069, allocations: 113.8 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3069, allocations: 25.7 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.307, allocations: 99.97 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.307, allocations: 11.81 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.307, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3072, allocations: 318.8 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.3072, allocations: 27.98 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3074, allocations: 37.69 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.038e-05/0.3075, allocations: 31.98 kB / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3075, allocations: 4 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002182/0.3077, allocations: 93.62 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3077, allocations: 4 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3077, allocations: 4 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3078, allocations: 0 / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3079, allocations: 19.94 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3079, allocations: 0 / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.3079, allocations: 11.98 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.308, allocations: 0 / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001005/0.3081, allocations: 117.8 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.3081, allocations: 3.906 kB / 0.7912 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.3081, allocations: 11.91 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3081, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3082, allocations: 7.891 kB / 0.7912 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3082, allocations: 3.938 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.3084, allocations: 177.6 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3084, allocations: 0 / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/0.3085, allocations: 15.98 kB / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3085, allocations: 4.125 kB / 0.7914 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3085, allocations: 8 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3085, allocations: 0 / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3085, allocations: 0 / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3088, allocations: 191.6 kB / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3089, allocations: 81.09 kB / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3089, allocations: 0 / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.309, allocations: 19.98 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3091, allocations: 4 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3091, allocations: 0 / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.907e-05/0.3091, allocations: 95.27 kB / 0.7918 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3092, allocations: 3.938 kB / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002258/0.3094, allocations: 11.95 kB / 0.7918 GB, free: 6.973 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0006125/0.31, allocations: 0.7234 MB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3102, allocations: 59.89 kB / 0.7926 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3102, allocations: 4.062 kB / 0.7926 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.3103, allocations: 31.98 kB / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3106, allocations: 4 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.3116, allocations: 495.1 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3119, allocations: 0.6848 MB / 0.7937 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.312, allocations: 4 kB / 0.7937 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.312, allocations: 15.44 kB / 0.7938 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.312, allocations: 0 / 0.7938 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.3249, allocations: 1.485 MB / 0.7952 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.3252, allocations: 201.5 kB / 0.7954 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.099, allocations: 4.062 kB / 0.7954 GB, free: 3.27 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) Environment - environmentSimulation: