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.001521/0.001521, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 189 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.691/1.691, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001416/0.001416, allocations: 71.55 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2334, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002814/0.2363, allocations: 1.51 MB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.2366, allocations: 123.6 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.2367, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.2367, allocations: 3.938 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.2368, allocations: 11.92 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.2371, allocations: 66.84 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2373, allocations: 55.89 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2374, allocations: 15.98 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.2374, allocations: 27.92 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.649e-05/0.2375, allocations: 23.84 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2375, allocations: 8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.2376, allocations: 4 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.2376, allocations: 23.97 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.2376, allocations: 15.88 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.2378, allocations: 68 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2378, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2378, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2378, allocations: 0 / 0.7855 GB, free: 11.32 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.0005609/0.2384, allocations: 375.3 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2384, allocations: 8.031 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.2385, allocations: 38.69 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.2385, allocations: 4.938 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2386, allocations: 168.3 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.172e-05/0.2387, allocations: 34.27 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2387, allocations: 8.359 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.239, allocations: 69.97 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.239, allocations: 0 / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.239, allocations: 8 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.239, allocations: 0 / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.2392, allocations: 55.88 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.2398, allocations: 316.8 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2399, allocations: 38.56 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.2401, allocations: 40.92 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2401, allocations: 0 / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2401, allocations: 34.5 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.2401, allocations: 0 / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003643/0.2405, allocations: 101.5 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.2405, allocations: 55.41 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.2406, allocations: 113.8 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2406, allocations: 25.7 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.2407, allocations: 96.03 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2407, allocations: 7.906 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.2408, allocations: 13.72 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2409, allocations: 322.8 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.241, allocations: 23.98 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.534e-05/0.2411, allocations: 41.62 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.2412, allocations: 53.81 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2412, allocations: 4 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002184/0.2415, allocations: 89.5 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2415, allocations: 11.98 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2415, allocations: 3.938 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2415, allocations: 0 / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.2416, allocations: 8 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2416, allocations: 7.984 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.2417, allocations: 4 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2417, allocations: 0 / 0.7876 GB, free: 8.926 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/0.2418, allocations: 129.8 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2418, allocations: 3.906 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.2419, allocations: 15.89 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2419, allocations: 0 / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2419, allocations: 0 / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2419, allocations: 0 / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2421, allocations: 177.6 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2421, allocations: 0 / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.2421, allocations: 11.94 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2422, allocations: 7.984 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.2422, allocations: 0 / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2422, allocations: 0 / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2422, allocations: 0 / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.2424, allocations: 179.7 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.2425, allocations: 81.02 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.2425, allocations: 0 / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2426, allocations: 19.98 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.2427, allocations: 3.984 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.2427, allocations: 4 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.2428, allocations: 87.27 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2428, allocations: 4 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000228/0.243, allocations: 4 kB / 0.7883 GB, free: 8.109 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 (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.0005532/0.2436, allocations: 0.7123 MB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.2438, allocations: 55.89 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2438, allocations: 0 / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.2439, allocations: 28.03 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2442, allocations: 8.781 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2457, allocations: 1.325 MB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.2459, allocations: 0.6885 MB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.246, allocations: 4 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.246, allocations: 15.44 kB / 0.7911 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.246, allocations: 0 / 0.7911 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2644, allocations: 1.782 MB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.756, allocations: 7.359 kB / 0.7928 GB, free: 3.453 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)